Logs onto the specified Exchange server using the specified mailbox.
obj.LogonToMAPI(Server String, Mailbox String) where obj is an McExchg.PublicFolderAnalyzer object.
Server
|
Specifies the Exchange server to gather public folder statistics. Leave blank for local computer. |
Mailbox
|
Name of the mailbox used for the MAPI logon (required to access public folder information). |
Boolean.
To log onto the EXCHSERVER1
Exchange server with the OnePointOperations
mailbox,
enter:
Set obj = CreateObject("McExchg.PublicFolderAnalyzer") bOK = obj.LogonToMAPI("EXCHSERVER1", "OnePointOperations") if Not BOK Then strError = obj.GetError()
This example show how to logon to the Exchange server.