Package | Description |
---|---|
org.apache.commons.net.imap |
Basic IMAP and IMAPS support classes
|
Modifier and Type | Method and Description |
---|---|
static AuthenticatingIMAPClient.AUTH_METHOD |
AuthenticatingIMAPClient.AUTH_METHOD.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticatingIMAPClient.AUTH_METHOD[] |
AuthenticatingIMAPClient.AUTH_METHOD.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AuthenticatingIMAPClient.auth(AuthenticatingIMAPClient.AUTH_METHOD method,
java.lang.String username,
java.lang.String password)
Authenticate to the IMAP server by sending the AUTHENTICATE command with the
selected mechanism, using the given username and the given password.
|
boolean |
AuthenticatingIMAPClient.authenticate(AuthenticatingIMAPClient.AUTH_METHOD method,
java.lang.String username,
java.lang.String password)
Authenticate to the IMAP server by sending the AUTHENTICATE command with the
selected mechanism, using the given username and the given password.
|