Uses of Class
javax.mail.Session
-
Packages that use Session Package Description gnu.mail.providers.imap This is a provider for the Internet Message Access Protocol, version 4rev1 (IMAP4rev1), as detailed in RFC 3501.gnu.mail.providers.maildir gnu.mail.providers.mbox This is a provider for the UNIXmbox
mailbox file format, used by many 3rd-party MUAs including Netscape, Mozilla, mutt, elm, and pine.gnu.mail.providers.nntp This is a provider for the Network News Transfer Protocol (NNTP), as detailed in RFC 977.gnu.mail.providers.pop3 This is a provider for the Internet Post Office Protocol, version 3 (POP3), as detailed in RFC 1939.gnu.mail.providers.smtp A provider for the Simple Mail Transfer Protocol (SMTP), as detailed in RFC 2821, including support for ESMTP service extensions.javax.mail Classes modelling a mail system.javax.mail.internet Classes modelling Internet mail systems. -
-
Uses of Session in gnu.mail.providers.imap
Constructors in gnu.mail.providers.imap with parameters of type Session Constructor Description IMAPStore(Session session, URLName url)
Constructor. -
Uses of Session in gnu.mail.providers.maildir
Constructors in gnu.mail.providers.maildir with parameters of type Session Constructor Description MaildirStore(Session session, URLName urlname)
Constructor. -
Uses of Session in gnu.mail.providers.mbox
Constructors in gnu.mail.providers.mbox with parameters of type Session Constructor Description MboxStore(Session session, URLName urlname)
Constructor. -
Uses of Session in gnu.mail.providers.nntp
Constructors in gnu.mail.providers.nntp with parameters of type Session Constructor Description NNTPStore(Session session, URLName url)
Constructor.NNTPTransport(Session session, URLName url)
Constructor. -
Uses of Session in gnu.mail.providers.pop3
Constructors in gnu.mail.providers.pop3 with parameters of type Session Constructor Description POP3Store(Session session, URLName urlname)
Constructor. -
Uses of Session in gnu.mail.providers.smtp
Constructors in gnu.mail.providers.smtp with parameters of type Session Constructor Description SMTPTransport(Session session, URLName urlName)
Creates a newSMTPTransport
instance. -
Uses of Session in javax.mail
Fields in javax.mail declared as Session Modifier and Type Field Description protected Session
Message. session
The session in scope for this message.protected Session
Service. session
The session context for this service.Methods in javax.mail that return Session Modifier and Type Method Description static Session
Session. getDefaultInstance(java.util.Properties props)
Get the default Session object.static Session
Session. getDefaultInstance(java.util.Properties props, Authenticator authenticator)
Returns the default session.static Session
Session. getInstance(java.util.Properties props)
Returns a new Session.static Session
Session. getInstance(java.util.Properties props, Authenticator authenticator)
Returns a new session.Session
MessageContext. getSession()
Returns the session context.Constructors in javax.mail with parameters of type Session Constructor Description Message(Session session)
Constructor with a session.Service(Session session, URLName url)
Constructor.Store(Session session, URLName url)
Constructor.Transport(Session session, URLName url)
Constructor. -
Uses of Session in javax.mail.internet
Methods in javax.mail.internet with parameters of type Session Modifier and Type Method Description protected MimeMessage
MimeMessage. createMimeMessage(Session session)
Creates a new MIME message.static InternetAddress
InternetAddress. getLocalAddress(Session session)
Returns an InternetAddress object representing the current user.Constructors in javax.mail.internet with parameters of type Session Constructor Description MimeMessage(Session session)
Constructor for an empty message.MimeMessage(Session session, java.io.InputStream is)
Constructor with an input stream contining an RFC 822 message.
-