Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MAPI Profile AT scheduling

Status
Not open for further replies.

fid

Programmer
May 10, 2001
20
US
I have an application that connects to a mailbox with visual basic using MAPI session. It runs fine executed with a user account since thats where the MAPI profile exists.. even runs fine scheduled with the task scheduler.

the problem is, the user must be logged in for the task scheduler to run. the server it is to reside has many logins, and no guarantee anyone will be logged in at all when the app is scheduled to run. the workaround is to use AT command /interactive and have the application run under the system account. unfortunately, then all of a sudden is can't find the MAPI profile, and the login fails with the good old MAPI_E_LOGON_FAILED (80040111)

anyone know how to resolve this?
can i create a MAPI profile the system can recognize?

thanx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top