Share via


RcptCommandEventArgs.MailItem property

The MailItem property gets or sets an instance of the MailItem class that is associated with the event to which this instance of the RcptCommandEventArgs 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 RcptCommandEventArgs
Dim value As MailItem

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

Property value

Type: Microsoft.Exchange.Data.Transport.MailItem

See also

Reference

RcptCommandEventArgs class

RcptCommandEventArgs members

Microsoft.Exchange.Data.Transport.Smtp namespace