DotNetOpenMail 0.5.7 (beta)

SmtpServer Members

SmtpServer overview

Public Instance Constructors

SmtpServerOverloaded. Initializes a new instance of the SmtpServer class.

Public Instance Properties

CaptureSmtpConversationObsolete. If true, the following call to "Send" will capture the most recent SMTP conversation to the SmtpServer object. This is intended for debugging only. This is deprecated in favour of the log message events.
Hostname The server hostname
Port The server port
ServerTimeout The timeout waiting for an SMTP command, in milliseconds
SmtpAuthToken Get or set the SMTP AUTH token for the server.

Public Instance Methods

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.
GetSmtpConversationObsolete. If CaptureSmtpConversation is true, a Send() will be captured, and will be accessible here.
GetType (inherited from Object) Gets the Type of the current instance.
OverrideSmtpProxy Override the SmtpProxy. This is only for testing smtp negotiation without an smtp server.
ToString Return the host name, a colon, and a port number.

Public Instance Events

LogSmtpCompleted Log that the conversation has completed
LogSmtpReceive Handle a message received
LogSmtpWrite Handle a message about to be sent

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

SmtpServer Class | DotNetOpenMail Namespace