Hello,
I want to use standalone VBSCRIPT to open an outlook mailbox, but I want to specify the mail profile. Here's the code I'm using. I couldn't find where to specify the profile, or if it's possible.
Set objOutlook = CreateObject("Outlook.Appl
ication") ' Get Outlook
Set objNamespace = objOutlook.GetNamespace("M
API") ' Get MAPI
Set objFolder = objNamespace.GetDefaultFol
der(olFold
erInbox) ' Get inbox
Thanks for your help,
Tom
Start Free Trial