Package | Description |
---|---|
javax.mail |
The JavaMailTM API
provides classes that model a mail system.
|
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.