
Trouble with MAPI.Session Login Script
Here is a copy the code I am using in a .vbs script file to connect to my
exchange server. Server-names, user-names, and passwords have been changed
to protect the innocent.
Quote:
>logonID = "myDomain/myUserName"
>logonPass = "myPassword"
>'exchange server
>bstrServer = "myExchangeServer"
>'Set the mailbox to connect to
>alias = "MyMailboxName"
>'Create the connection
>Set objSession = CreateObject("MAPI.Session")
>objSession.Logon logonID,logonPass , ,true, , false, bstrServer &
vblf & alias
For some reason I am getting an '=' sign in front of the alias in my Login
string. Any help with this will be appreciated. Thanks.