Package | Description |
---|---|
com.sun.mail.util.logging |
Contains JavaMail™ extensions for
the Java™ platform's core logging
facilities.
|
javax.mail |
The JavaMail™ API
provides classes that model a mail system.
|
Modifier and Type | Method and Description |
---|---|
Authenticator |
MailHandler.getAuthenticator()
Gets the Authenticator used to login to the email server.
|
Modifier and Type | Method and Description |
---|---|
void |
MailHandler.setAuthenticator(Authenticator auth)
Sets the Authenticator used to login to the email server.
|
Modifier and Type | Method and Description |
---|---|
static Session |
Session.getDefaultInstance(Properties props,
Authenticator authenticator)
Get the default Session object.
|
static Session |
Session.getInstance(Properties props,
Authenticator authenticator)
Get a new Session object.
|
Copyright © 1996-2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.