
protected static class MailUtil.SmtpAuthenticator
extends javax.mail.Authenticator
Authenticator subclass that authenticates a user to
an SMTP server.| Constructor and Description |
|---|
MailUtil.SmtpAuthenticator(String login,
String pass)
Constructs a new SmtpAuthenticator with a supplied username and password.
|
| Modifier and Type | Method and Description |
|---|---|
javax.mail.PasswordAuthentication |
getPasswordAuthentication()
Returns the password used to authenticate to the SMTP server.
|
Copyright © 2001-2018 The Apache Software Foundation. All rights reserved.