Question

I am attempting to use Extended MAPI to send and receive email from an app using the same email address despite the computer the software is installed on. Originally I was trying to log in to a non-default account, but had only patchy success. I then read an article that explained how to search through Accounts that are on the default user's profile using oom, and set up a second email address on my own.

Unfortunately, I am not finding any information on how to use extended MAPI to change the Account being used. What would I need to do to access a secondary Account on the primary Profile using Extended MAPI?

Thank you for any assistance you can provide.

Was it helpful?

Solution

If you are using a non-default account, Outlook will stamp the outgoing message with the name and id of that account: look at the messages in your Sent Items folder with OutlookSpy (click IMessage button). If you want to change the order of the accounts, use IOlkAccountManager::SetOrder. You can see the edxisting order in OutlookSopy if you click the IOlkAccountManager button.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top