Purpose
This method logs in to MAPI Mail or Microsoft Exchange and establishes a mail session. If Microsoft Mail isn't already running, you must use this method to establish a mail session before mail or document routing functions can be used.
Syntax
MailLogon(Name, Password, DownloadNewMail)
Optional Parameters
Name
The mail account name or Microsoft Exchange profile name. If this argument is omitted, the default mail account name is used.
Password
The mail account password. This argument is ignored in Microsoft Exchange.
DownloadNewMail
True to download new mail immediately.