| Package | Description | 
|---|---|
| org.apache.commons.net.smtp | SMTP and SMTPS mail | 
| Modifier and Type | Method and Description | 
|---|---|
| static AuthenticatingSMTPClient.AUTH_METHOD | AuthenticatingSMTPClient.AUTH_METHOD. valueOf(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 and Description | 
|---|---|
| boolean | AuthenticatingSMTPClient. auth(AuthenticatingSMTPClient.AUTH_METHOD method,
    String username,
    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 String | AuthenticatingSMTPClient.AUTH_METHOD. getAuthName(AuthenticatingSMTPClient.AUTH_METHOD method)Gets the name of the given authentication method suitable for the server. | 
Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.