[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Develop a windows service to process exchange inbox via MAPI

Posted on 2008-02-11
3
Medium Priority
?
424 Views
Last Modified: 2013-12-03
Did anyone access Exchange inbox using MAPI in a Windows service?  We have a problem to access the mailbox.  The error seems "server is not available."  What we did were
1) log in to the windows xp box using generic AD account, which is the owner of an emailbox.
2) create mail profile.  To verify the profile, the inbox can be accessed using Outlook interface.
3) exit Outlook and Outlook process.
4) run the newly-developed Windows service, which calls the profile and uses its password.
5) we got exception.

Is it something done by anyone?  Any advices for troubleshooting?
0
Comment
Question by:mn10191b
  • 2
3 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 20868193
This is not a really simple issue, yet MSDN covers it. See http://support.microsoft.com/kb/197820 ("How To MAPI Enable a Windows NT Service")
0
 

Author Comment

by:mn10191b
ID: 20868858
Thanks, jkr.  Make it even more complicated.  We developed it in C# code.  Here is a msdn blog about it.  What is it really mean?  Any further enlightenments?

http://blogs.msdn.com/mstehle/archive/2007/10/03/fyi-why-are-mapi-and-cdo-1-21-not-supported-in-managed-net-code.aspx.
0
 
LVL 86

Accepted Solution

by:
jkr earned 2000 total points
ID: 20870610
Well, that only means that you risk memory leaks when using CDO. How is your MAPI interaction implemented? If that is plain MAP, that article does not apply.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are literally thousands of Exchange recovery applications out there. So how do you end up picking one that’s ideal for your business & purpose? By carefully scouting the product’s features, the benefits it offers you, & reading ample reviews f…
There’s hardly a doubt that Business Communication is indispensable for both enterprises and small businesses, and if there is an email system outage owing to Exchange server failure, it definitely results in loss of productivity.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

591 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question