Package | Description |
---|---|
com.sun.mail.imap |
An IMAP protocol provider for the Jakarta Mail API
that provides access to an IMAP message store.
|
com.sun.mail.pop3 |
A POP3 protocol provider for the Jakarta Mail API
that provides access to a POP3 message store.
|
com.sun.mail.smtp |
An SMTP protocol provider for the Jakarta Mail API
that provides access to an SMTP server.
|
javax.mail |
The Jakarta Mail API
provides classes that model a mail system.
|
Modifier and Type | Class and Description |
---|---|
class |
IMAPProvider
The IMAP protocol provider.
|
class |
IMAPSSLProvider
The IMAP SSL protocol provider.
|
Modifier and Type | Class and Description |
---|---|
class |
POP3Provider
The POP3 protocol provider.
|
class |
POP3SSLProvider
The POP3 SSL protocol provider.
|
Modifier and Type | Class and Description |
---|---|
class |
SMTPProvider
The SMTP protocol provider.
|
class |
SMTPSSLProvider
The SMTP SSL protocol provider.
|
Modifier and Type | Method and Description |
---|---|
Provider |
Session.getProvider(String protocol)
Returns the default Provider for the protocol
specified.
|
Provider[] |
Session.getProviders()
This method returns an array of all the implementations installed
via the javamail.[default.]providers files that can
be loaded using the ClassLoader available to this application.
|
Modifier and Type | Method and Description |
---|---|
void |
Session.addProvider(Provider provider)
Add a provider to the session.
|
Store |
Session.getStore(Provider provider)
Get an instance of the store specified by Provider.
|
Transport |
Session.getTransport(Provider provider)
Get an instance of the transport specified in the Provider.
|
void |
Session.setProvider(Provider provider)
Set the passed Provider to be the default implementation
for the protocol in Provider.protocol overriding any previous values.
|
Copyright © 2021 JBoss by Red Hat. All rights reserved.