MailLogoff Method Example
This example closes the established mail session, if there is one.
If Not IsNull(Application.MailSession) Then Application.MailLogoff