All Classes and Interfaces

Class
Description
An access control list entry for a particular authentication identifier (user or group).
This abstract class models the addresses in a message.
The exception thrown when a wrongly formatted address is encountered.
This abstract class implements string comparisons for Message addresses.
This class implements Message Address comparisons.
This class implements the logical AND operator on individual SearchTerms.
A stream for writing to the temp file, and when done can return a stream for reading the data just written.
Information from the APPENDUID response code defined by the UIDPLUS extension - RFC 4315.
 
An OutputStream that determines whether the data written to it is all ASCII, mostly ASCII, or mostly non-ASCII.
 
 
 
This exception is thrown when the connect method on a Store or Transport object fails due to an authentication failure (e.g., bad user name or password).
The class Authenticator represents an object that knows how to obtain authentication for a network connection.
 
This class implements a BASE64 Decoder.
This class implements a BASE64 encoder.
See the BASE64MailboxEncoder for a description of the RFC2060 and how mailbox names should be encoded.
From RFC2060:
This class implements a 'B' Encoder as defined by RFC2047 for encoding MIME headers.
The BODY fetch response item.
This class models a Part that is contained within a Multipart.
A BODYSTRUCTURE response.
This class implements searches on a message body.
A simple wrapper around a byte array, with a start position and count of bytes.
A DataSource backed by a byte array.
A LogRecord formatter that takes a sequence of LogRecords and combines them into a single summary result.
 
A plain text formatter that can produce fixed width output.
This class models the comparison operator.
The adapter which receives connection events.
This class models Connection events.
 
This is the Listener interface for Connection events.
This class represents a MIME ContentDisposition value.
This class represents a MIME Content-Type value.
Information from the COPYUID response code defined by the UIDPLUS extension - RFC 4315.
Convert lines into the canonical format, that is, terminate lines with the CRLF sequence.
This class implements comparisons for Dates
A special IOException that indicates a failure to decode data due to an error in the formatting of the data.
The default IMAP folder (root of the naming hierarchy).
The POP3 DefaultFolder.
Annotation to mark the default providers that are part of Jakarta Mail.
A message/delivery-status message content, as defined in RFC 3464.
DIGEST-MD5 authentication support.
A message/disposition-notification message content, as defined in RFC 3798.
A filter used to limit log records based on a maximum generation rate.
A DataSource that also implements EncodingAware may specify the Content-Transfer-Encoding to use for its data.
The ENEVELOPE item of an IMAP FETCH response.
Package private class used by Store & Folder to dispatch events.
Metadata describing a FETCH item.
Clients use a FetchProfile to list the Message attributes that it wishes to prefetch from the server for a range of messages.
This inner class is the base class of all items that can be requested in a FetchProfile.
This class represents a FETCH response obtained from the input stream of an IMAP server.
The Flags class represents the set of flags on a Message.
This class
This inner class represents an individual system flag.
This class implements comparisons for Message Flags.
Folder is an abstract class that represents a folder for mail messages.
The adapter which receives Folder events.
This exception is thrown when a method is invoked on a Messaging object and the Folder that owns that object has died due to some reason.
A variant of FolderClosedException that can be thrown from methods that only throw IOException.
This class models Folder existence events.
This is the Listener interface for Folder events.
This exception is thrown by Folder methods, when those methods are invoked on a non existent folder.
This class implements string comparisons for the From Address header.
This class implements comparisons for the From Address header.
A Gmail folder.
A fetch profile item for fetching headers.
A Gmail message.
This class implements searching for the Gmail message ID.
Extend IMAP support to handle Gmail-specific protocol extensions.
The Gmail IMAP protocol provider.
This class implements searching using the Gmail X-GM-RAW extension.
Support Gmail-specific search extensions.
The Gmail IMAP protocol provider.
Support "gimaps" protocol name.
A Gmail Store.
This class implements searching for the Gmail thread ID.
Base class for other DataContentHandlers.
The Header class stores a name/value pair to represent headers.
This class implements comparisons for Message headers.
This class tokenizes RFC822 and MIME headers into the basic symbols specified by RFC822 and MIME.
The Token class represents tokens returned by the HeaderTokenizer.
This class represents the response to the ID command.
IdleManager uses the optional IMAP IDLE command (RFC 2177) to watch multiple folders for new messages.
The exception thrown when a write is attempted on a read-only attribute of any Messaging object.
DataContentHandler for image/gif.
DataContentHandler for image/jpeg.
 
An IMAP body part.
This class implements an IMAP folder.
A fetch profile item for fetching headers.
A simple interface for user-defined IMAP protocol commands.
This class implements an IMAP data stream.
This class implements an IMAPMessage object.
This class implements the test to be done on each message in the folder.
This class
This class implements a nested IMAP message
This class extends the iap.Protocol object and implements IMAP semantics.
The IMAP protocol provider.
A ProtocolException that includes IMAP login referral information.
This class represents a response obtained from the input stream of an IMAP server.
This class contains a single method that does authentication using SASL.
The IMAP SSL protocol provider.
This class provides access to an IMAP message store over SSL.
This class provides access to an IMAP message store.
This class implements comparisons for integers.
An INTERNALDATE FETCH item.
This class represents an Internet email address using the syntax of RFC822.
InternetHeaders is a utility class that manages RFC822 style headers.
An individual internet header.
A tagging interface for all IMAP data items.
Count the number of bytes written to the stream.
LineInputStream supports reading CRLF terminated lines that contain only US-ASCII characters from an input stream.
This class is to support writing out Strings as a sequence of bytes terminated by a CRLF sequence.
A LIST response.
An interface for objects that provide data dynamically for use in a literal protocol element.
 
An adapter class to allow the Mail API to access the LogManager properties.
Capture output lines and send them to the mail logger.
Information collected when opening a mailbox.
A MessagingException that indicates a socket connection attempt failed.
Formats and parses date specification based on RFC 2822.
Common base class for mail events, defining the dispatch method.
Handler that formats log records as an email message.
A simplified logger used by Jakarta Mail to handle logging to a PrintStream and logging through a java.util.logging.Logger.
Annotation used by Jakarta EE applications to define a MailSession to be registered with JNDI.
Declares one or more MailSessionDefinition annotations.
An SSL socket factory that makes it easier to specify trust.
The MD4 class is used to compute an MD4 message digest over a given buffer of bytes.
This class models an email message.
DataContentHandler for message/delivery-status MIME type.
DataContentHandler for message/disposition-notification MIME type.
 
This inner class defines the types of recipients allowed by the Message class.
An interface optionally implemented by DataSources to supply information to a DataContentHandler about the message context in which the data content object is operating.
A cache of IMAPMessage objects along with the mapping from message number to IMAP sequence number.
This class models Message change events.
This is the Listener interface for MessageChanged events
The context in which a piece of Message content is contained.
The adapter which receives MessageCount events.
This class notifies changes in the number of messages in a folder.
This is the Listener interface for MessageCount events.
A special MimeMessage object that contains only message headers, no content.
This term models the RFC822 "MessageId" - a message-id for Internet messages that is supposed to be unique per message.
An object that holds a Message object and reports its size and writes it to another OutputStream on demand.
This class implements comparisons for Message numbers.
The exception thrown when an invalid method is invoked on an expunged Message.
A variant of MessageRemovedException that can be thrown from methods that only throw IOException.
This class holds the 'start' and 'end' for a range of messages.
This class provides notification of messages that have been removed since the folder was last synchronized.
The base class for all exceptions thrown by the Messaging classes
The exception thrown when a method is not supported by the implementation
This class represents a MIME body part.
This class represents a MIME style email message.
This inner class extends the javax.mail.Message.RecipientType class to add additional RecipientTypes.
The MimeMultipart class is an implementation of the abstract Multipart class that uses MIME conventions for the multipart data.
The MimePart interface models an Entity as defined by MIME (RFC2045, Section 2.4).
A utility class that implements a DataSource out of a MimePart.
General MIME-related utility methods.
This is a utility class that provides various MIME related functionality.
Find messages that have been modified since a given MODSEQ value.
This class represents the MODSEQ data item.
Multipart is a container that holds multiple body parts.
 
DataContentHandler for multipart/report MIME type.
MultipartDataSource is a DataSource that contains body parts.
A multipart/report message content, as defined in RFC 3462.
This class and its inner class represent the response to the NAMESPACE command.
A single namespace entry.
This class models an RFC1036 newsgroup address.
This exception is thrown when Session attempts to instantiate a Provider that doesn't exist.
This class implements the logical NEGATION operator.
 
NTLMAuthentication:
Jakarta Mail SASL client for OAUTH2.
Jakarta Mail SASL client factory for OAUTH2.
Find messages that are older than a given interval (in seconds).
This class implements the logical OR operator on individual SearchTerms.
This class holds MIME parameters (attribute-value pairs).
The exception thrown due to an error in parsing RFC822 or MIME headers, including multipart bodies.
 
The Part interface is the common base interface for Messages and BodyParts.
The class PasswordAuthentication is a data holder that is used by Authenticator.
A POP3 Folder (can only be "INBOX").
A POP3 Message.
The POP3 protocol provider.
The POP3 SSL protocol provider.
A POP3 Message Store using SSL.
A POP3 Message Store.
A MimeBodyPart that handles data that has already been encoded.
Utilities to make it easier to get property values.
General protocol handling code for IMAP-like protocols.
This class provides a POP3 connection and implements the POP3 protocol requests.
 
The Provider is a class that describes a protocol implementation.
This inner class defines the Provider type.
This class implements a Q Decoder as defined in RFC 2047 for decoding MIME headers.
This class implements a Q Encoder as defined by RFC 2047 for encoding MIME headers.
This class implements a QP Decoder.
This class implements a Quoted Printable Encoder.
This class represents a set of quotas for a given quota root.
An individual resource in a quota root.
An interface implemented by Stores that support quotas.
A Message or message Part whose data can be read as a MIME format stream.
This exception is thrown when an attempt is made to open a folder read-write access when the folder is marked read-only.
This class implements comparisons for the Message Received date
This class implements string comparisons for the Recipient Address headers.
This class implements comparisons for the Recipient Address headers.
A special kind of AuthenticationFailedException that indicates that the reason for the failure was an IMAP REFERRAL in the response code.
An abstract report type, to be included in a MultipartReport.
This class represents a response obtained from the input stream of an IMAP server.
 
This class
Inputstream that is used to read a Response.
Resynchronization data as defined by the QRESYNC extension (RFC 5162).
The RFC822 response data item.
An RFC822SIZE FETCH item.
The Rights class represents the set of rights for an authentication identifier (for instance, a user or a group).
This inner class represents an individual right.
Interface to make it easier to call IMAPSaslAuthenticator.
Interface to make it easier to call SMTPSaslAuthenticator.
The exception thrown when a Search expression could not be handled.
This class traverses a search-tree and generates the corresponding IMAP search sequence.
Search criteria are expressed as a tree of search-terms, forming a parse-tree for the search expression.
This exception is thrown when the message cannot be sent.
This class implements comparisons for the Message SentDate.
An abstract class that contains the functionality common to messaging services, such as stores and transports.
The Session class represents a mail session and is not subclassed.
Orders log records by level, thrown, sequence, and time.
A ByteArrayInputStream that implements the SharedInputStream interface, allowing the underlying byte array to be shared between multiple readers.
A ByteArrayOutputStream that allows us to share the byte array rather than copy it.
A SharedFileInputStream is a BufferedInputStream that buffers data from the file and supports the mark and reset methods.
An InputStream that is backed by data that can be shared by multiple readers may implement this interface.
This class implements comparisons for Message sizes.
This exception is thrown when the message cannot be sent.
This exception is chained off a SendFailedException when the mail.smtp.reportsuccess property is true.
This class is a specialization of the MimeMessage class that allows you to specify various SMTP options and parameters that will be used when this message is sent over SMTP.
In addition to converting lines into the canonical format, i.e., terminating lines with the CRLF sequence, escapes the "." by adding another "." to any "." that appears in the beginning of a line.
The SMTP protocol provider.
This class contains a single method that does authentication using SASL.
This exception is thrown when the message cannot be sent.
This exception is thrown when the message cannot be sent.
The SMTP SSL protocol provider.
This class implements the Transport abstract class using SMTP over SSL for message submission and transport.
This class implements the Transport abstract class using SMTP for message submission and transport.
An IOException that indicates a socket connection attempt failed.
This class is used to get Sockets.
A particular sort criteria, as defined by RFC 5256.
STATUS response.
Result of POP3 STAT command.
An abstract class that models a message store and its access protocol, for storing and retrieving messages.
This exception is thrown when a method is invoked on a Messaging object and the Store that owns that object has died due to some reason.
This class models notifications from the Store connection.
This is the Listener interface for Store Notifications.
Support interface to generalize code that loads resources from stream.
This class implements the match method for Strings.
This class implements comparisons for the message Subject header.
A temporary file used to cache POP3 messages.
DataContentHandler for text/html.
DataContentHandler for text/plain.
DataContentHandler for text/rfc822-headers MIME type.
DataContentHandler for text/xml.
An OutputStream that wraps the Socket's OutputStream and uses the ScheduledExecutorService to schedule a task to close the socket (aborting the write) if the timeout expires.
This class is a FilterInputStream that writes the bytes being read from the given input stream into the given output stream.
This class is a subclass of DataOutputStream that copies the data being written into the DataOutputStream into another output stream.
An abstract class that models a message transport.
The adapter which receives Transport events.
This class models Transport events.
This is the Listener interface for Transport events
This class represents the UID data item.
The UIDFolder interface is implemented by Folders that can support the "disconnected" mode of operation, by providing unique-ids for messages in the folder.
A fetch profile item for fetching UIDs.
This class holds the 'start' and 'end' for a range of UIDs.
This is a utility class that generates unique values.
The name of a URL.
Holder for some static utility methods.
This interface defines the test to be executed in toMessageSet().
This class implements a UUDecoder.
This class implements a UUEncoder.
Package-private class that defines the version of Jakarta Mail.
A subclass of SharedFileInputStream that also allows writing.
A special Socket that uses a ScheduledExecutorService to implement timeouts for writes.
Find messages that are younger than a given interval (in seconds).