SmtpReceiveAgent events

The SmtpReceiveAgent type exposes the following members.

Events

  Name Description
Protected event OnAuthCommand The OnAuthCommand event occurs when the server receives a Simple Mail Transfer Protocol (SMTP)AUTH command and before the server responds to the command.
Protected event OnConnect The OnConnect event occurs when the server receives a Simple Mail Transfer Protocol (SMTP) connection.
Protected event OnDataCommand The OnDataCommand event occurs when the server receives a Simple Mail Transfer Protocol (SMTP)DATA command.
Protected event OnDisconnect The OnDisconnect event occurs when a Simple Mail Transfer Protocol (SMTP) connection to the server is closed.
Protected event OnEhloCommand The OnEhloCommand event occurs when the server receives a Simple Mail Transfer Protocol (SMTP)EHLO command.
Protected event OnEndOfAuthentication The OnEndOfAuthentication event occurs when the server responds to a Simple Mail Transfer Protocol (SMTP)AUTH command.
Protected event OnEndOfData The OnEndOfData event occurs when the server reaches the end of data for a Simple Mail Transfer Protocol (SMTP) message.
Protected event OnEndOfHeaders The OnEndOfHeaders event occurs when the server reaches the end of the headers for a Simple Mail Transfer Protocol (SMTP) message.
Protected event OnHeloCommand The OnHeloCommand event occurs when the server receives a Simple Mail Transfer Protocol (SMTP)HELO command.
Protected event OnHelpCommand The OnHelpCommand occurs when the server receives a Simple Mail Transfer Protocol (SMTP)HELP command.
Protected event OnMailCommand The OnMailCommand event occurs when the server receives a Simple Mail Transfer Protocol (SMTP)MAIL command.
Protected event OnNoopCommand The OnNoopCommand event occurs when the server receives a Simple Mail Transfer Protocol (SMTP)NOOP command.
Protected event OnRcptCommand The OnRcptCommand event occurs when the server receives a Simple Mail Transfer Protocol (SMTP)RCPT command.
Protected event OnReject The OnReject event occurs when any other event rejects a command or message.
Protected event OnRsetCommand The OnRsetCommand event occurs when the server receives a Simple Mail Transfer Protocol (SMTP)RSET command.
Protected event OnStartTlsCommand Occurs when server receives a Simple Mail Transfer Protocol (SMTP)STARTTLS command.

Top

See also

Reference

SmtpReceiveAgent class

Microsoft.Exchange.Data.Transport.Smtp namespace