Trouble with MAPI.Session Login Script 
Author Message
 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.



Sat, 29 Jan 2005 20:46:57 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Trouble with MAPI.Session Login Script

2. Trouble login script on win9x

3. MAPI Session & MAPI Messages

4. HELP with MAPI sessions to remote Exchange Server

5. Error creating MAPI-Session

6. error to creat a CDO MAPI.Session object

7. MAPI.Session with VBS in .asp page?

8. MAPI.Session 800A01AD Error

9. How can I install MAPI.Session ?

10. Problem creating MAPI session

11. Invalid ProgID when trying to create MAPI.Session

12. Error while creating Object Mapi.Session

 

 
Powered by phpBB® Forum Software