public class SMTPAuthenticator
extends javax.mail.Authenticator
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
Copyright.
|
Constructor and Description |
---|
SMTPAuthenticator(java.lang.String account, java.lang.String pwd)
SMTPAuthenicator constructor.
|
Modifier and Type | Method and Description |
---|---|
javax.mail.PasswordAuthentication | getPasswordAuthentication()
Gets a PasswordAuthenication object based on the parameters passed to the contructor.
|
public static final java.lang.String COPYRIGHT
public SMTPAuthenticator(java.lang.String account, java.lang.String pwd)
public javax.mail.PasswordAuthentication getPasswordAuthentication()