AuthMechanism Property
Used when connecting to the mail server.
Syntax
public int getAuthMechanism(); public void setAuthMechanism(int authMechanism);
Enumerated values: public final static int amUserPassword = 0; public final static int amCRAMMD5 = 1; public final static int amNTLM = 2; public final static int amSASLPlain = 4; public final static int amKerberos = 6; public final static int amXOAUTH2 = 7;
Remarks
The authentication mechanism property to be used when connecting to the mail server.
By default, this property is amUserPassword (0), and if the User and Password properties are set, the AUTH command is sent to the server for authentication. If this property is set to amCRAMMD5 (1), CRAM-MD5 authentication is used instead.
If this property is set to amNTLM (2) NTLM authentication will be used.
If this property is set to amKerberos (6) Kerberos authentication will be used. NOTE: This functionality is only available in Windows.
Default Value
0