DotNetOpenMail 0.5.7 (beta)

SmtpProxy Members

SmtpProxy overview

Public Static (Shared) Methods

GetInstance Get an instance of the SMTP Proxy

Public Instance Properties

CaptureSmtpConversation Set this to "true" if you want to capture the SMTP negotiation. Once the conversation has finished, use "GetConversation" to view it.
LingerState (inherited from TcpClient) Gets or sets information about the sockets linger time.
NoDelay (inherited from TcpClient) Gets or sets a value that disables a delay when send or receive buffers are not full.
ReceiveBufferSize (inherited from TcpClient) Gets or sets the size of the receive buffer.
ReceiveTimeout (inherited from TcpClient) Gets or sets the amount of time a TcpClient will wait to receive data once a read operation is initiated.
SendBufferSize (inherited from TcpClient) Gets or sets the size of the send buffer.
SendTimeout (inherited from TcpClient) Gets or sets the amount of time a TcpClient will wait for a send operation to complete successfully.

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 Properties

Active (inherited from TcpClient) Gets or set a value that indicates whether a connection has been made.
Client (inherited from TcpClient) Gets or sets the underlying Socket.

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