Enum SmtpAuthenticationMechanism
SASL authentication mechanisms supported by the SMTP client (RFC 4954).
Namespace: DRIT.Mail.Rfc.Smtp
Assembly: DRIT.Mail.dll
Syntax
public enum SmtpAuthenticationMechanism
Fields
| Name | Description |
|---|---|
| Auto | Automatically select the strongest mechanism advertised by the server that is compatible with the supplied credentials. |
| CramMd5 | SASL CRAM-MD5 (RFC 2195). Challenge-response HMAC-MD5. |
| Login | SASL LOGIN (de-facto standard). Two-step challenge-response for username and password. Must only be used over an encrypted connection. |
| Plain | SASL PLAIN (RFC 4616). Sends credentials base64-encoded in a single round-trip. Must only be used over an encrypted connection. |
| XOAuth2 | XOAUTH2 (OAuth 2.0 access token). Used by Gmail and Office 365. |