I have 6 emails account in my outlook. I wonder if I can read 6 email inbox Set oInbox = oNS.GetDefaultFolder(olFolderInbox)like read a inbox then read c inbox. read is different email address
Reply from Alex Hedley:
This is untested but should work for research
Dim objNS As Outlook.NameSpace Dim objFolder As Outlook.MAPIFolder Set objNS = GetNamespace("MAPI") Set objFolder = objNS.Folders("OTHER MAILBOX NAME") Set objFolder = objFolder.Folders("Inbox")
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.