Hi @ll,
Using MAPIEx for getting eMails and set up different Outlook Profiles for different (Microsoft Exchange Mailboxes)
For example:
Profile1 = Default Mailbox of current Windows User
Profile2 = additional Mailbox of given Username & Password
Getting Mails for Profile1 is working fine.
But use same Action for Profile2, it will throw an error: "Failed to access message store"
It's pretty sure because I can't set a Password before for Profile2. Looked at the Code:
' Initialise the extended MAPI interface
'Dim iErr As Integer
Using mapi As New NetMAPI
'log into mapi
mapi.Login(sProfile)
It's only possible to mention the profile-Name, but not the Password.
So how can I achive to get Mails with a different Profile/Password with mapi ?