DotNetOpenMail 0.5.7 (beta)

SmtpProxy Methods

The methods of the SmtpProxy class are listed below. For a complete list of SmtpProxy class members, see the SmtpProxy Members topic.

Public Static (Shared) Methods

GetInstance Get an instance of the SMTP Proxy

Public Instance Methods

Auth Send the AUTH command Throw a MailException if we can't connect.
Close (inherited from TcpClient) Closes the TCP connection and releases all resources associated with the TcpClient.
Connect (inherited from TcpClient)Overloaded. Connects the client to the specified port on the specified host.
Data Send the DATA string (without the data) Throw a MailException if we can't connect.
Ehlo Send the EHLO string. Throw a MailException if we can't connect.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetStream (inherited from TcpClient) Returns the NetworkStream used to send and receive data.
GetType (inherited from Object) Gets the Type of the current instance.
Helo Send the HELO string. Throw a MailException if we can't connect.
MailFrom Send the MAIL FROM command Throw a MailException if we can't connect.
Open Connect to the server and return the initial welcome string. Throw a MailException if we can't connect.
Quit Send the QUIT command Throw a MailException if we can't connect.
RcptTo Send the MAIL FROM command Throw a MailException if we can't connect.
SendString Send any old string to the proxy
ToString (inherited from Object) Returns a String that represents the current Object.
WriteData Send the message content string Throw a MailException if we can't connect.

Protected Instance Methods

Dispose (inherited from TcpClient) Releases the unmanaged resources used by the TcpClient and optionally releases the managed resources.
Finalize (inherited from TcpClient) Frees resources used by the TcpClient class.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

SmtpProxy Class | DotNetOpenMail Namespace