Package | Description |
---|---|
org.apache.commons.net.smtp |
SMTP and SMTPS mail
|
Modifier and Type | Method | Description |
---|---|---|
static AuthenticatingSMTPClient.AUTH_METHOD |
AuthenticatingSMTPClient.AUTH_METHOD.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static AuthenticatingSMTPClient.AUTH_METHOD[] |
AuthenticatingSMTPClient.AUTH_METHOD.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
AuthenticatingSMTPClient.auth(AuthenticatingSMTPClient.AUTH_METHOD method,
java.lang.String username,
java.lang.String password) |
Authenticate to the SMTP server by sending the AUTH command with the
selected mechanism, using the given username and the given password.
|
static java.lang.String |
AuthenticatingSMTPClient.AUTH_METHOD.getAuthName(AuthenticatingSMTPClient.AUTH_METHOD method) |
Gets the name of the given authentication method suitable for the server.
|