| Package | Description |
|---|---|
| com.sun.mail.util.logging |
Contains JavaMailTM extensions for
the JavaTM platform's core logging
facilities.
|
| javax.mail |
The JavaMailTM 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-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.