Enum SmtpSslMode
Specifies the TLS mode for an SMTP connection.
Namespace: DRIT.Mail.Rfc.Smtp
Assembly: DRIT.Mail.dll
Syntax
public enum SmtpSslMode
Fields
| Name | Description |
|---|---|
| Auto | Automatically negotiate: use STARTTLS if the server advertises it, otherwise fall back to plaintext (unless RequireEncryption is set). |
| ImplicitTls | Implicit TLS from the moment of TCP connect (port 465 / SMTPS). |
| None | No encryption; the connection is plaintext throughout (port 25). |
| StartTls | Explicit TLS via the STARTTLS command after the initial EHLO (port 587, RFC 3207). |