Package | Description |
---|---|
com.sun.mail.gimap |
An EXPERIMENTAL IMAP protocol provider that supports the
Gmail-specific IMAP protocol extensions
.
|
com.sun.mail.imap |
An IMAP protocol provider for the JavaMail API
that provides access to an IMAP message store.
|
com.sun.mail.pop3 |
A POP3 protocol provider for the JavaMail API
that provides access to a POP3 message store.
|
com.sun.mail.smtp |
An SMTP protocol provider for the JavaMail API
that provides access to an SMTP server.
|
com.sun.mail.util |
Utility classes for use with the JavaMail API.
|
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.
|
javax.mail.internet |
Classes specific to Internet mail systems.
|
Constructor and Description |
---|
GmailMessage(Session session)
Constructor, for use by IMAPNestedMessage.
|
GmailSSLStore(Session session,
URLName url)
Constructor that takes a Session object and a URLName that
represents a specific IMAP server.
|
GmailStore(Session session,
URLName url)
Constructor that takes a Session object and a URLName that
represents a specific IMAP server.
|
GmailStore(Session session,
URLName url,
java.lang.String name,
boolean isSSL)
Constructor used by GmailSSLStore subclass.
|
Modifier and Type | Method and Description |
---|---|
(package private) Session |
IMAPMessage._getSession() |
(package private) Session |
IMAPStore.getSession()
Get a reference to the session.
|
Constructor and Description |
---|
ConnectionPool(java.lang.String name,
MailLogger plogger,
Session session) |
IdleManager(Session session,
java.util.concurrent.Executor es)
Create an IdleManager.
|
IMAPMessage(Session session)
Constructor, for use by IMAPNestedMessage.
|
IMAPSSLStore(Session session,
URLName url)
Constructor that takes a Session object and a URLName that
represents a specific IMAP server.
|
IMAPStore(Session session,
URLName url)
Constructor that takes a Session object and a URLName that
represents a specific IMAP server.
|
IMAPStore(Session session,
URLName url,
java.lang.String name,
boolean isSSL)
Constructor used by this class and by IMAPSSLStore subclass.
|
Modifier and Type | Method and Description |
---|---|
(package private) Session |
POP3Store.getSession()
Get a reference to the session.
|
Constructor and Description |
---|
POP3SSLStore(Session session,
URLName url) |
POP3Store(Session session,
URLName url) |
POP3Store(Session session,
URLName url,
java.lang.String name,
boolean isSSL) |
Constructor and Description |
---|
SMTPMessage(Session session)
Default constructor.
|
SMTPMessage(Session session,
java.io.InputStream is)
Constructs an SMTPMessage by reading and parsing the data from the
specified MIME InputStream.
|
SMTPSSLTransport(Session session,
URLName urlname)
Constructor.
|
SMTPTransport(Session session,
URLName urlname)
Constructor that takes a Session object and a URLName
that represents a specific SMTP server.
|
SMTPTransport(Session session,
URLName urlname,
java.lang.String name,
boolean isSSL)
Constructor used by this class and by SMTPSSLTransport subclass.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
PropUtil.getBooleanSessionProperty(Session session,
java.lang.String name,
boolean def)
Get a boolean valued property.
|
static int |
PropUtil.getIntSessionProperty(Session session,
java.lang.String name,
int def)
Get an integer valued property.
|
Constructor and Description |
---|
MailLogger(java.lang.Class<?> clazz,
java.lang.String prefix,
Session session)
Construct a new MailLogger using the specified class' package
name as the Logger name and the specified
debug prefix (e.g., "DEBUG").
|
MailLogger(java.lang.String name,
java.lang.String prefix,
Session session)
Construct a new MailLogger using the specified Logger name and
debug prefix (e.g., "DEBUG").
|
Modifier and Type | Field and Description |
---|---|
private Session |
MailHandler.session
Holds the session object used to generate emails.
|
Modifier and Type | Method and Description |
---|---|
private Session |
MailHandler.fixUpSession()
Used to update the cached session object based on changes in
mail properties or authenticator.
|
private Session |
MailHandler.initSession()
Creates a session using a proxy properties object.
|
Modifier and Type | Method and Description |
---|---|
private void |
MailHandler.verifySettings(Session session)
Checks all of the settings if the caller requests a verify and a verify
was not performed yet and no verify is in progress.
|
private void |
MailHandler.verifySettings0(Session session,
java.lang.String verify)
Checks all of the settings using the given setting.
|
Modifier and Type | Field and Description |
---|---|
private static Session |
Session.defaultSession |
protected Session |
Message.session
The Session object for this Message
|
protected Session |
Service.session
The session from which this service was created.
|
Modifier and Type | Method and Description |
---|---|
static Session |
Session.getDefaultInstance(java.util.Properties props)
Get the default Session object.
|
static Session |
Session.getDefaultInstance(java.util.Properties props,
Authenticator authenticator)
Get the default Session object.
|
static Session |
Session.getInstance(java.util.Properties props)
Get a new Session object.
|
static Session |
Session.getInstance(java.util.Properties props,
Authenticator authenticator)
Get a new Session object.
|
Session |
Message.getSession()
Return the Session used when this message was created.
|
Session |
MessageContext.getSession()
Return the Session we're operating in.
|
(package private) Session |
Service.getSession()
Package private method to allow Folder to get the Session for a Store.
|
Constructor and Description |
---|
Message(Session session)
Constructor that takes a Session.
|
Service(Session session,
URLName urlname)
Constructor.
|
Store(Session session,
URLName urlname)
Constructor.
|
Transport(Session session,
URLName urlname)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
(package private) static InternetAddress |
InternetAddress._getLocalAddress(Session session)
A package-private version of getLocalAddress that doesn't swallow
the exception.
|
protected MimeMessage |
MimeMessage.createMimeMessage(Session session)
Create and return a MimeMessage object.
|
static InternetAddress |
InternetAddress.getLocalAddress(Session session)
Return an InternetAddress object representing the current user.
|
static java.lang.String |
UniqueValue.getUniqueMessageIDValue(Session ssn)
Get a unique value for use in a Message-ID.
|
Constructor and Description |
---|
MimeMessage(Session session)
Default constructor.
|
MimeMessage(Session session,
java.io.InputStream is)
Constructs a MimeMessage by reading and parsing the data from the
specified MIME InputStream.
|