EndOfHeadersEventArgs.MailItem Property

The MailItem property gets or sets and instance of the MailItem class that is associated with the event to which this instance of the EndOfHeadersEventArgs class was passed.

Namespace:  Microsoft.Exchange.Data.Transport.Smtp
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public Property MailItem As MailItem
    Get
    Friend Set
'Usage
Dim instance As EndOfHeadersEventArgs
Dim value As MailItem

value = instance.MailItem
public MailItem MailItem { get; internal set; }