RejectEventArgs.SmtpResponse property
The SmtpResponse property gets or sets an instance of the SmtpResponse 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 SmtpResponse As SmtpResponse
Get
Friend Set
'Usage
Dim instance As RejectEventArgs
Dim value As SmtpResponse
value = instance.SmtpResponse
public SmtpResponse SmtpResponse { get; internal set; }
Property value
Type: Microsoft.Exchange.Data.Transport.Smtp.SmtpResponse
The SmtpResponse property returns one of the valid SmtpResponse enumeration values that specifies the response being returned for the rejected command.