Uses of Class
jakarta.mail.Session
Package
Description
The Jakarta Mail API
provides classes that model a mail system.
Classes specific to Internet mail systems.
An EXPERIMENTAL IMAP protocol provider that supports the
Gmail-specific IMAP protocol extensions
.
An IMAP protocol provider for the Jakarta Mail API
that provides access to an IMAP message store.
A POP3 protocol provider for the Jakarta Mail API
that provides access to a POP3 message store.
An SMTP protocol provider for the Jakarta Mail API
that provides access to an SMTP server.
-
Uses of Session in jakarta.mail
Modifier and TypeFieldDescriptionprotected Session
Message.session
The Session object for this Messageprotected Session
Service.session
The session from which this service was created.Modifier and TypeMethodDescriptionstatic Session
Session.getDefaultInstance
(Properties props) Get the default Session object.static Session
Session.getDefaultInstance
(Properties props, Authenticator authenticator) Get the default Session object.static Session
Session.getInstance
(Properties props) Get a new Session object.static Session
Session.getInstance
(Properties props, Authenticator authenticator) Get a new Session object.Message.getSession()
Return the Session used when this message was created.MessageContext.getSession()
Return the Session we're operating in. -
Uses of Session in jakarta.mail.internet
Modifier and TypeMethodDescriptionprotected 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.ModifierConstructorDescriptionMimeMessage
(Session session) Default constructor.MimeMessage
(Session session, InputStream is) Constructs a MimeMessage by reading and parsing the data from the specified MIME InputStream. -
Uses of Session in org.eclipse.angus.mail.gimap
ModifierConstructorDescriptionprotected
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.protected
GmailStore
(Session session, URLName url, String name, boolean isSSL) Constructor used by GmailSSLStore subclass. -
Uses of Session in org.eclipse.angus.mail.imap
ModifierConstructorDescriptionIdleManager
(Session session, Executor es) Create an IdleManager.protected
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.Constructor that takes a Session object and a URLName that represents a specific IMAP server.protected
Constructor used by this class and by IMAPSSLStore subclass. -
Uses of Session in org.eclipse.angus.mail.pop3
-
Uses of Session in org.eclipse.angus.mail.smtp
ModifierConstructorDescriptionSMTPMessage
(Session session) Default constructor.SMTPMessage
(Session session, 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.protected
SMTPTransport
(Session session, URLName urlname, String name, boolean isSSL) Constructor used by this class and by SMTPSSLTransport subclass.