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