Link to home
Start Free TrialLog in
Avatar of mn10191b
mn10191b

asked on

Develop a windows service to process exchange inbox via MAPI

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?
Avatar of jkr
jkr
Flag of Germany image

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")
Avatar of mn10191b
mn10191b

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial