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(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,
String username,
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,
String username,
String password)
Authenticate to the IMAP server by sending the AUTHENTICATE command with the
selected mechanism, using the given username and the given password.
|
Copyright © 2001–2017 The Apache Software Foundation. All rights reserved.