Table of contents
TOC
Collapse the table of content
Expand the table of content

Application.MailSession Method (Project)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Returns the MAPI mail session number as a hexadecimal string if there is an active session, or returns Null if there is no session.

Syntax

expression. MailSession

expression A variable that represents an Application object.

Return Value

String

Example

The following example gets the MAPI mail session number.

Sub Mail_Session() 

 Dim Return_MAPI As String 
 Return_MAPI = MailSession() 
End Sub
© 2018 Microsoft