How to create a MAPI profile from a service?
- From: "Chris" <chrisforng@xxxxxxxxxxxxxxxx>
- Date: Mon, 2 Oct 2006 17:42:58 -0700
Hi, please help.
I am using MAPIAdminProfiles to get the Profile management interface and use
CreateProfile() and ConfigureMsgService() to create a MAPI profile to access
Exchange 2000. Everything works fine if I run my application interactively.
But it fails at ConfigureMsgService() when running as Windows Service.
Becaue the service is running as LocalSystem account, it seems that account
cannot call ConfigureMsgService().
What should I do? I know I can impersonate another user but I tend not to do
that. Is there any setting somewhere to let LocalSystem account to call
ConfigureMsgService()?
Thanks,
Chris
.
- Follow-Ups:
- Re: How to create a MAPI profile from a service?
- From: Dmitry Streblechenko
- Re: How to create a MAPI profile from a service?
- Prev by Date: Re: passing paramters to executable link
- Next by Date: Re: Removing attachments from a PST file & compacting
- Previous by thread: passing paramters to executable link
- Next by thread: Re: How to create a MAPI profile from a service?
- Index(es):