Package | Description |
---|---|
javax.mail |
The JavaMailTM API
provides classes that model a mail system.
|
javax.mail.event |
Listeners and events for the JavaMail API.
|
Modifier and Type | Method and Description |
---|---|
Transport |
Session.getTransport()
Get a Transport object that implements this user's desired
Transport protcol.
|
Transport |
Session.getTransport(Address address)
Get a Transport object that can transport a Message of the
specified address type.
|
Transport |
Session.getTransport(Provider provider)
Get an instance of the transport specified in the Provider.
|
Transport |
Session.getTransport(String protocol)
Get a Transport object that implements the specified protocol.
|
Transport |
Session.getTransport(URLName url)
Get a Transport object for the given URLName.
|
Constructor and Description |
---|
TransportEvent(Transport transport,
int type,
Address[] validSent,
Address[] validUnsent,
Address[] invalid,
Message msg)
Constructor.
|
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.