Reading msgs from specific inbox
Am trying to read email from Outlook. In VBA, I create an outlook session, then read the inbox with:
oSession.logon()
oInbox = oSession.GetDefaultFolder(6)
But if the user has more than one account, cannot figure how I can get the inbox for a specific account just using the email address or the account name.
Any help greatly appreciated,
Mark
|