Encapsulates a connection with an SMTP server and provides commands and responses to/from that server.
Inheritance Hierarchy
BaseProtocolSmtpResponse
Ipswitch.Messaging.Framework.MailSmtpProtocol
Namespace: Ipswitch.Messaging.Framework.Mail
Assembly: Ipswitch.Messaging.Framework (in Ipswitch.Messaging.Framework.dll) Version: 1.0.0.0
Syntax
The SmtpProtocol type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SmtpProtocol |
Initialize a new SmtpProtocol instance.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetResponse |
Get a response from the server containing the response code and message (or messages).
(Overrides BaseProtocol.GetResponse.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
SendData |
Send a Data command (DATA) to the server.
| |
SendEhlo |
Send an extended hello greeting to the SMTP server using the indicated identity.
| |
SendEndOfData |
Send an end-of-data sequence (CRLF.CRLF) to the server.
| |
SendHelo |
Send a fallback hello greeting command to the server (HELO) using the indicated identity.
| |
SendMailFrom |
Send a Mail From command to the server.
| |
SendQuit |
Send a Quit/Exit command (QUIT) to the server.
| |
SendRcptTo |
Send a Recipient (RCPT TO) command to the server.
| |
SendRset |
Send a Reset command (RSET) to the server.
| |
SendStartTls |
Send a Start TLS command to the server (STARTTLS).
| |
ToString | (Inherited from Object.) |
See Also