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.
|
javax.mail |
The JavaMail™ API
provides classes that model a mail system.
|
Constructor and Description |
---|
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,
String name,
boolean isSSL)
Constructor used by GmailSSLStore subclass.
|
Modifier and Type | Method and Description |
---|---|
Folder |
IMAPStore.getFolder(URLName url)
Get named folder.
|
Constructor and Description |
---|
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,
String name,
boolean isSSL)
Constructor used by this class and by IMAPSSLStore subclass.
|
Modifier and Type | Method and Description |
---|---|
Folder |
POP3Store.getFolder(URLName url) |
Constructor and Description |
---|
POP3SSLStore(Session session,
URLName url) |
POP3Store(Session session,
URLName url) |
POP3Store(Session session,
URLName url,
String name,
boolean isSSL) |
Constructor and Description |
---|
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,
String name,
boolean isSSL)
Constructor used by this class and by SMTPSSLTransport subclass.
|
Modifier and Type | Field and Description |
---|---|
protected URLName |
Service.url
The
URLName of this service. |
Modifier and Type | Method and Description |
---|---|
URLName |
Service.getURLName()
Return a URLName representing this service.
|
URLName |
Folder.getURLName()
Return a URLName representing this folder.
|
Modifier and Type | Method and Description |
---|---|
abstract Folder |
Store.getFolder(URLName url)
Return a closed Folder object, corresponding to the given
URLName.
|
Folder |
Session.getFolder(URLName url)
Get a closed Folder object for the given URLName.
|
PasswordAuthentication |
Session.getPasswordAuthentication(URLName url)
Return any saved PasswordAuthentication for this (store or transport)
URLName.
|
Store |
Session.getStore(URLName url)
Get a Store object for the given URLName.
|
Transport |
Session.getTransport(URLName url)
Get a Transport object for the given URLName.
|
void |
Session.setPasswordAuthentication(URLName url,
PasswordAuthentication pw)
Save a PasswordAuthentication for this (store or transport) URLName.
|
protected void |
Service.setURLName(URLName url)
Set the URLName representing this service.
|
Constructor and Description |
---|
Service(Session session,
URLName urlname)
Constructor.
|
Store(Session session,
URLName urlname)
Constructor.
|
Transport(Session session,
URLName urlname)
Constructor.
|
Copyright © 1996-2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.