I'm trying to read a different Inbox for another account with one user. So if I'm user Bob and I have access to mailboxes [email protected]
and[email protected]
I want to use Outlook Redemptions to read the [email protected] mailbox.
Currently I have it set up like so:
rdoDefaultFolders olFolderInbox = rdoDefaultFolders.olFolderInbox;
Session = new RDOSession();
RDOFolder objFolder;
Session.LogonExchangeMailbox(outLookUser, outLookServer);
objFolder = Session.GetDefaultFolder(olFolderInbox);
But this gives me the default inbox folder for [email protected]. I need the other inbox for [email protected].
However I want something like
Session.LogonExchangeMailbox(outLookUser, outLookServer, outLookMailBox)
where outLookMailBox is something like the mailbox name or another inbox folder name in my current outlook session.
I'm hoping someone out there knows what I'm talking about because I've been at this for hours!