Namespace DRIT.Mail.Rfc.Smtp
Classes
SmtpAuthenticationException
Thrown when SMTP authentication fails (e.g. a 535 reply), when no common mechanism can be negotiated, or when authentication is refused over an unencrypted connection.
SmtpBatchResult
The result of a batch Send(IEnumerable{MimeMessage})
operation. Immutable.
SmtpCertificateValidation
Provides SSL certificate validation callbacks for use with CertificateValidationCallback.
SmtpClient
Sends mail messages via SMTP (RFC 5321). One instance maintains a single connection; use Send(MimeMessage) for one message. Not thread-safe; use one instance per thread.
SmtpClientOptions
Configuration for SmtpClient. Mutable during construction; set all properties before calling Connect().
SmtpDeliveryResult
The result of a single Send(MimeMessage) operation. Immutable.
SmtpException
The base exception type for all SMTP errors. Carries the server reply (if any) that triggered the error.
SmtpExtensionNames
EHLO extension keyword names (RFC 5321 §4.1.1.0, RFC 2920, RFC 3207, RFC 4954, RFC 1870, RFC 1652, RFC 6531, RFC 3463).
SmtpProtocolException
Thrown when the SMTP server returns an unexpected or non-compliant reply, or when a required extension is not advertised.
SmtpRecipientResult
The result of a single RCPT TO command within a message
delivery. Immutable.
SmtpReplyCode
Standard SMTP reply code values (RFC 5321 §4.2.2, RFC 4954 §4, RFC 3463).
SmtpResponse
A single SMTP reply (RFC 5321 §4.2). Immutable. Multi-line replies (e.g. an EHLO response) are assembled into a single SmtpResponse whose Lines collection holds the individual text lines.
SmtpServerCapabilities
Extensions advertised by the server in its EHLO response. Immutable. Populated by Parse(SmtpResponse) from the EHLO reply.
SmtpTimeoutException
Thrown when a read or write operation times out before the server responds.
Enums
SmtpAuthenticationMechanism
SASL authentication mechanisms supported by the SMTP client (RFC 4954).
SmtpSslMode
Specifies the TLS mode for an SMTP connection.