You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
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