Package | Description |
---|---|
com.sun.mail.smtp |
An SMTP protocol provider for the JavaMail API
that provides access to an SMTP server.
|
javax.mail |
The JavaMail™ API
provides classes that model a mail system.
|
javax.mail.event |
Listeners and events for the JavaMail API.
|
Modifier and Type | Class and Description |
---|---|
class |
SMTPSSLTransport
This class implements the Transport abstract class using SMTP
over SSL for message submission and transport.
|
class |
SMTPTransport
This class implements the Transport abstract class using SMTP for
message submission and transport.
|
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-2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.