[Webinar] Streamline your web hosting managementRegister Today


Develop a windows service to process exchange inbox via MAPI

Posted on 2008-02-11
Medium Priority
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?
Question by:mn10191b
  • 2
LVL 86

Expert Comment

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")

Author Comment

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?

LVL 86

Accepted Solution

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.

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