Share via


ReceiveMessageEventSource members

The ReceiveMessageEventSource class is the base class for classes passed to the Microsoft.Exchange.Data.Transport.Smtp receive events.

The ReceiveMessageEventSource type exposes the following members.

Methods

  Name Description
Public method DiscardMessage
Public method Disconnect When overridden in a derived class, the Disconnect method closes the current connection and cleans up the associated session state. (Inherited from ReceiveEventSource.)
Public method Quarantine When overridden in a derived class, the Quarantine method quarantines the received message for the recipients specified by the recipients parameter by using the reason specified by the quarantineReason parameter.
Public method RejectMessage(SmtpResponse) When overridden in a derived class, the RejectMessage method rejects the complete message by sending a Simple Mail Transfer Protocol (SMTP) response specified by the response parameter.
Public method RejectMessage(SmtpResponse, String)
Public method ValidateCertificate() Gets the CertificateValidationStatus type for the current SMTP session. (Inherited from ReceiveEventSource.)
Public method ValidateCertificate(String, String) Matches a given domain to subject names of the remote certificate and, if a match is found, validates the certificate. (Inherited from ReceiveEventSource.)

Top

See also

Reference

ReceiveMessageEventSource class

Microsoft.Exchange.Data.Transport.Smtp namespace