Enum ImapSslMode
Specifies the TLS mode for an IMAP connection.
Namespace: DRIT.Mail.Rfc.Imap
Assembly: DRIT.Mail.dll
Syntax
public enum ImapSslMode
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 993 / IMAPS). |
| None | No encryption; the connection is plaintext throughout (port 143). |
| StartTls | Explicit TLS via the STARTTLS command after the initial handshake (port 143, RFC 9051 §6.2.1). |