IPWorks OpenPGP 2020 Android Edition

Questions / Feedback?

AuthMechanism Property

The authentication mechanism to be used when connecting to the mail server.


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 amAPOP = 3; public final static int amSASLPlain = 4; public final static int amSASLDigestMD5 = 5; public final static int amKerberos = 6; public final static int amXOAUTH2 = 7;


Auth Mechanism Description
0 (amUserPassword - Default) A user/password pair is sent in plaintext to login. (Default)
1 (amCRAMMD5) CRAM-MD5 authentication.
2 (amNTLM) NTLM authentication.
4 (amSASLPlain) SASLPlain. Note, that servers will often require SSL be used when this authentication mechanism is requested. See AuthorizationIdentity.
5 (amSASLDigestMD5) SASLDigestMD5. See AuthorizationIdentity.
6 (amKerberos) Kerberos authentication. This option is available in Windows or other platforms when using the Java edition.
7 (mXOAUTH) XOAUTH2 authentication. See AuthorizationIdentity.

Default Value


Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks OpenPGP 2020 Android Edition - Version 20.0 [Build 8161]