SmtpReceiveAgent members
The SmtpReceiveAgent class is the base class for agent classes that use Simple Mail Transfer Protocol (SMTP) receive events.
The SmtpReceiveAgent type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SmtpReceiveAgent | The SmtpReceiveAgent constructor initializes a new instance of the SmtpReceiveAgent class. |
Top
Properties
Name | Description | |
---|---|---|
EventTopic | Gets or sets a string value that contains the name of the event that this instance of the Agent class or a class derived from the Agent class is raising. (Inherited from Agent.) | |
Name | Gets or sets a string value that contains the computer name for this instance of the class that derives from the Agent class. (Inherited from Agent.) |
Top
Methods
Name | Description | |
---|---|---|
GetAgentAsyncContext | When overridden in a derived class, gets a AgentAsyncContext object to mark the executing event handler to execute asynchronously. (Inherited from Agent.) |
Top
Events
Name | Description | |
---|---|---|
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. | |
OnConnect | The OnConnect event occurs when the server receives a Simple Mail Transfer Protocol (SMTP) connection. | |
OnDataCommand | The OnDataCommand event occurs when the server receives a Simple Mail Transfer Protocol (SMTP)DATA command. | |
OnDisconnect | The OnDisconnect event occurs when a Simple Mail Transfer Protocol (SMTP) connection to the server is closed. | |
OnEhloCommand | The OnEhloCommand event occurs when the server receives a Simple Mail Transfer Protocol (SMTP)EHLO command. | |
OnEndOfAuthentication | The OnEndOfAuthentication event occurs when the server responds to a Simple Mail Transfer Protocol (SMTP)AUTH command. | |
OnEndOfData | The OnEndOfData event occurs when the server reaches the end of data for a Simple Mail Transfer Protocol (SMTP) message. | |
OnEndOfHeaders | The OnEndOfHeaders event occurs when the server reaches the end of the headers for a Simple Mail Transfer Protocol (SMTP) message. | |
OnHeloCommand | The OnHeloCommand event occurs when the server receives a Simple Mail Transfer Protocol (SMTP)HELO command. | |
OnHelpCommand | The OnHelpCommand occurs when the server receives a Simple Mail Transfer Protocol (SMTP)HELP command. | |
OnMailCommand | The OnMailCommand event occurs when the server receives a Simple Mail Transfer Protocol (SMTP)MAIL command. | |
OnNoopCommand | The OnNoopCommand event occurs when the server receives a Simple Mail Transfer Protocol (SMTP)NOOP command. | |
OnRcptCommand | The OnRcptCommand event occurs when the server receives a Simple Mail Transfer Protocol (SMTP)RCPT command. | |
OnReject | The OnReject event occurs when any other event rejects a command or message. | |
OnRsetCommand | The OnRsetCommand event occurs when the server receives a Simple Mail Transfer Protocol (SMTP)RSET command. | |
OnStartTlsCommand | Occurs when server receives a Simple Mail Transfer Protocol (SMTP)STARTTLS command. |
Top