Application.MailLogoff Method
Project Developer Reference |
Closes an established MAPI mail session.
Syntax
expression.MailLogoff
expression A variable that represents an Application object.
Return Value
Nothing
Example
The following example checks for an existing mail session and logs off it. If not logged on, the following example logs on, downloads any new mail, and then logs off.
Visual Basic for Applications |
---|
|
See Also