PowerTCP Mail for .NET
Authentication Enumeration




Enumerates the values of MailSession.Authentication.
Syntax
Public Enum Authentication 
   Inherits System.Enum
Dim instance As Authentication
public enum Authentication : System.Enum 
__value public enum Authentication : public System.Enum 
public enum class Authentication : public System.Enum 
Members
MemberDescription
Apop2nd-least secure POP authentication (Pop only).
Auto Chooses an authentication mechanism in order of preference: CRAM-MD5, LOGIN, PLAIN, GSSAPI, NTLM, (APOP), (None/ClearText).
ClearText Login performed in the clear (non-SASL Imap LOGIN or Pop USER/PASS). Least secure.
CramMD5 CRAM-MD5 authentication described in RFC 2195.
GssApi GSSAPI/SSPI authentication. Not supported under Mono on systems without secur32.dll (Linux, etc).
Login SASL LOGIN authentication.
NoneNo authentication used (Smtp only).
Ntlm NTLM authentication. Not supported under Mono on systems without secur32.dll (Linux, etc).
OAuth2 OAuth2 authentication.
Plain

PLAIN authentication described in RFC 2595.

Remarks

Authentication.Auto chooses an authentication mechanism from MailBase.Capabilities in order of preference: CRAM-MD5, (SASL) LOGIN, PLAIN, GSSAPI and NTLM. Pop uses APOP as the lowest preference. If no capabilities are advertised, Smtp uses Authentication.None and Imap/Pop uses Authentication.ClearText (non-SASL Imap LOGIN or Pop USER/PASS). If no credentials are specified, Smtp uses Authentication.None. OAuth2 must be specified manually, as it requires application-level implementation; see the top-level OAuth help topic for more information.

GssApi and Ntlm provide a "single sign-on" capability if MailSession.Username is empty (uses the credentials of the current Windows user account); otherwise MailSession.Username, MailSession.Password, and MailSession.Domain will be used for authentication.

OAuth2 can be used by all mail protocols. See the top-level OAuth help topic for more information.

Authentication protocols that the server supports are listed in MailBase.Capabilities.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Dart.Mail.Authentication

See Also

Reference

Dart.Mail Namespace


PowerTCP Mail for .NET Documentation Version 4.3
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic