Hunny Software Library Reference

SmtpClient Members

SmtpClient overview

Public Static (Shared) Fields

CONVERT_EOL Option to SendLines that indicates the library should convert all line endings to CR LF.
FIRST Option to SendLines that indicates the buffer is first in a series buffers.
LAST Option to SendLines that indicates the buffer is last in a series buffers.
TraceOutput Enables trace output of the protocol dialog.

Public Instance Constructors

SmtpClient Constructor Creates a new instance.

Public Instance Properties

EnhancedStatusCode Gets the server's enhanced status code.
NumCapabilities Gets the number of items in the server's capabilities list.
ReceiveTimeout Gets or sets the timeout for network receive operations.
ReplyCode Gets the server's reply code.
ReplyText Gets the text of the server's reply.
SendTimeout Gets or sets the timeout for network send operations.

Public Instance Methods

AuthCramMd5 Sends the AUTH CRAM-MD5 command.
AuthPlain Sends the AUTH PLAIN command.
Cancel Cancels a currently executing command.
CapabilityAt Gets the server capability item at the specified position.
ConnectOverloaded. Opens a connection to an SMTP server.
Data Sends the DATA command.
Disconnect Closes the connection to the SMTP server.
Dispose Releases all resources used by this instance.
Ehlo Sends the EHLO command.
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.
GetType (inherited from Object)Gets the Type of the current instance.
HasCapability Indicates if the server has specified a capability.
Helo Sends the HELO command.
MailFrom Sends the MAIL command.
Noop Sends the NOOP command.
Quit Sends the QUIT command.
RcptTo Sends the RCPT command.
Rset Sends the RSET command.
SendBytes Sends mail content as uninterpreted bytes.
SendLines Sends the message as text lines.
ToString (inherited from Object)Returns a String that represents the current Object.
Vrfy Sends the VRFY command.

Protected Instance Methods

Finalize Releases all resources used by this instance.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

SmtpClient Class | Hunny.Mail Namespace | RFC 2821: Simple Mail Transfer Protocol