Microsoft.Exchange.Data.Transport.Smtp Namespace
The Microsoft.Exchange.Data.Transport.Smtp namespace contains types that support the extension of the Microsoft Exchange Server 2007 transport SMTP behavior.
Classes
| Class | Description | 
|---|---|
| AuthCommandEventArgs | The AuthCommandEventArgs class provides data for the OnAuthCommand event. | 
| ConnectEventArgs | The ConnectEventArgs class provides data for the OnConnect events. | 
| ConnectEventSource | Classes derived from the ConnectEventSource class provide data for the OnConnect event. | 
| DataCommandEventArgs | The DataCommandEventArgs class provides data for the OnDataCommand events. | 
| DisconnectEventArgs | The DisconnectEventArgs class provides data for the OnDisconnect event. | 
| DisconnectEventSource | Classes derived from the DisconnectEventSource class provide data for the OnDisconnect event. | 
| EhloCommandEventArgs | The EhloCommandEventArgs class provides data for the OnEhloCommand event. | 
| EndOfAuthenticationEventArgs | The EndOfAuthenticationEventArgs class provides data for the OnEndOfAuthentication event. | 
| EndOfAuthenticationEventSource | Classes derived from the EndOfAuthenticationEventSource class provide data for the OnEndOfAuthentication events. | 
| EndOfDataEventArgs | The EndOfDataEventArgs class provides data for the OnEndOfData event. | 
| EndOfHeadersEventArgs | The EndOfHeadersEventArgs class provides data for the OnEndOfHeaders event. | 
| HeloCommandEventArgs | The HeloCommandEventArgs class provides data for the OnHeloCommand event. | 
| HelpCommandEventArgs | The HelpCommandEventArgs class provides data for the OnHelpCommand event. | 
| MailCommandEventArgs | The MailCommandEventArgs class provides data for the OnMailCommand event. | 
| NoopCommandEventArgs | The NoopCommandEventArgs class provides data to the OnNoopCommand event. | 
| RcptCommandEventArgs | The RcptCommandEventArgs class provides data for the OnRcptCommand event. | 
| ReceiveCommandEventArgs | Classes that derive from the ReceiveCommandEventArgs class provide data for the Microsoft.Exchange.Data.Transport.Smtp event. | 
| ReceiveCommandEventSource | The ReceiveCommandEventSource class is the base class for all Microsoft.Exchange.Data.Transport.Smtp event source classes. | 
| ReceiveEventArgs | Classes that derive from the ReceiveEventArgs class provide data for the Microsoft.Exchange.Data.Transport.Smtp events. | 
| ReceiveEventSource | The ReceiveEventSource class is the base class for all Microsoft.Exchange.Data.Transport.Smtp event source classes. | 
| ReceiveMessageEventSource | The ReceiveMessageEventSource class is the base class for classes passed to the Microsoft.Exchange.Data.Transport.Smtp receive events. | 
| RejectEventArgs | The RejectEventArgs class provides data for the OnReject event. | 
| RejectEventSource | Classes derived from the RejectEventSource class provide data for the OnReject event. | 
| RsetCommandEventArgs | The RsetCommandEventArgs class provides data for the OnRsetCommand event. | 
| SmtpReceiveAgent | The SmtpReceiveAgent class is the base class for agent classes that use Simple Mail Transfer Protocol (SMTP) receive events. | 
| SmtpReceiveAgentFactory | The SmtpReceiveAgentFactory class produces instances of the SmtpReceiveAgent class that are used to extend Simple Mail Transfer Protocol (SMTP) transport behavior. | 
| SmtpSession | The SmtpSession class is the base class for classes that represent a Simple Mail Transfer Protocol (SMTP) session. | 
Structures
| Structure | Description | 
|---|---|
| SmtpResponse | The SmtpResponse structure provides properties and methods for responding to Simple Mail Transfer Protocol (SMTP) requests. | 
Delegates
| Delegate | Description | 
|---|---|
| AuthCommandEventHandler | The AuthCommandEventHandler delegate represents the method that will handle the OnAuthCommand event of a class that derives from the SmtpReceiveAgent class. | 
| ConnectEventHandler | The ConnectEventHandler delegate represents the method that will handle the OnConnect event of a class that derives from the SmtpReceiveAgent class. | 
| DataCommandEventHandler | The DataCommandEventHandler delegate represents the method that will handle the OnDataCommand event of a class that derives from the SmtpReceiveAgent class. | 
| DisconnectEventHandler | The DisconnectEventHandler delegate represents the method that will handle the OnDisconnect event of a class derived from the SmtpReceiveAgent class. | 
| EhloCommandEventHandler | The EhloCommandEventHandler delegate represents the method that will handle the OnEhloCommand event of a class that derives from the SmtpReceiveAgent class. | 
| EndOfAuthenticationEventHandler | The EndOfAuthenticationEventHandler delegate represents the method that will handle the OnEndOfAuthentication event in classes derived from the SmtpReceiveAgent class. | 
| EndOfDataEventHandler | The EndOfDataEventHandler delegate represents the method that will handle the OnEndOfData event of a class that derives from the SmtpReceiveAgent class. | 
| EndOfHeadersEventHandler | The EndOfHeadersEventHandler delegate represents the method that will handle the OnEndOfHeaders event in a class that derives from the SmtpReceiveAgent class. | 
| HeloCommandEventHandler | The HeloCommandEventHandler delegate represents the method that will handle the OnHeloCommand event in classes that derive from the SmtpReceiveAgent class. | 
| HelpCommandEventHandler | The HelpCommandEventHandler delegate represents the method that will handle the OnHelpCommand event in classes that derive from the SmtpReceiveAgent class. | 
| MailCommandEventHandler | The MailCommandEventHandler delegate represents the method that will handle the OnMailCommand event in classes that derive from the SmtpReceiveAgent class. | 
| NoopCommandEventHandler | The NoopCommandEventHandler delegate represents the method that will handle the OnNoopCommand event in classes that derive from the SmtpReceiveAgent class. | 
| RcptCommandEventHandler | The RcptCommandEventHandler delegate represents the method that will handle the OnRcptCommand event in a class that derives from the SmtpReceiveAgent class. | 
| RejectEventHandler | The RejectEventHandler delegate represents the method that will handle the OnReject event in a class that derives from the SmtpReceiveAgent class. | 
| RsetCommandEventHandler | The RsetCommandEventHandler delegate represents the method that will handle the OnRsetCommand event in classes that derive from the SmtpReceiveAgent class. | 
Enumerations
| Enumeration | Description | 
|---|---|
| AuthenticationSource | The AuthenticationSource enumeration indicates the type of authentication that was used for the connection to the remote server. | 
| BodyType | The BodyType enumeration specifies the type of contents that the body of a message contains. | 
| DisconnectReason | The DisconnectReason enumeration indicates why the OnDisconnect event fired. | 
| ParsingStatus | The ParsingStatus enumeration specifies values to return when parsing a Simple Mail Transfer Protocol (SMTP) command. | 
| SmtpResponseType | The SmtpResponseType enumeration indicates the status returned from a Simple Mail Transfer Protocol (SMTP) request. |