# Uses of Enum
org.apache.commons.net.smtp.AuthenticatingSMTPClient.AUTH_METHOD

Packages that use AuthenticatingSMTPClient.AUTH_METHOD
Package
Description
org.apache.commons.net.smtp
SMTP and SMTPS mail

- ## Uses of AuthenticatingSMTPClient.AUTH_METHOD in org.apache.commons.net.smtp

  Methods in org.apache.commons.net.smtp that return AuthenticatingSMTPClient.AUTH_METHOD
  Modifier and Type
  Method
  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.
  Methods in org.apache.commons.net.smtp with parameters of type AuthenticatingSMTPClient.AUTH_METHOD
  Modifier and Type
  Method
  Description
  `boolean`
  AuthenticatingSMTPClient.`auth(AuthenticatingSMTPClient.AUTH_METHOD method, String user, String password)`
  Authenticate to the SMTP server by sending the AUTH command with the selected mechanism, using the given user 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.