MAPI_E_FAILONEPROVIDER error on calling OpenMsgStore #558
Unanswered
tejaswita234
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Stephen,
I am trying to connect to Microsoft Online Exchange(outlook.office365.com) via Outlook 365 32 bit client using MAPI. My requirement is to connect to my mailbox when the user is logged off from the machine. The MAPI function OpenMsgStore is successfully opening my mailbox using OpenMsgStore() when I am logged in to the system,but it throws MAPI_E_FAILONEPROVIDER error when I run the application as a scheduled service and use MAPI to call OpenMsgStore(). I tried using the console application ExampleMAPIConsoleApp from MFCMAPI tool latest code and ran it as a service and it fails in OpenMsgStore() and as a result I am unable to connect to my mailbox. Is there any work around to proceed with the mailbox connection when user is logged from from machine?
Beta Was this translation helpful? Give feedback.
All reactions