All Classes and Interfaces
Class
Description
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.
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 models a Part that is contained within a Multipart.
This class implements searches on a message body.
A DataSource backed by a byte array.
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.
This class implements comparisons for Dates
A
DataSource
that also implements
EncodingAware
may specify the Content-Transfer-Encoding
to use for its data.Package private class used by Store invalid input: '&' Folder to dispatch events.
A "struct" to put on the queue.
A special event that causes the queue processing task to terminate.
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.
The Flags class represents the set of flags on a Message.
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.
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.
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.
The exception thrown when a write is attempted on a read-only attribute
of any Messaging object.
This class implements comparisons for integers.
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.
LineInputStream supports reading CRLF terminated lines that
contain only US-ASCII characters from an input stream.
This interface is to support writing out Strings as a sequence of bytes
terminated by a CRLF sequence.
Formats and parses date specification based on
RFC 2822.
This class provides the building blocks for date parsing.
Common base class for mail events, defining the dispatch method.
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.This class models an email message.
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.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.
This term models the RFC822 "MessageId" - a message-id for
Internet messages that is supposed to be unique per message.
This class implements comparisons for Message numbers.
The exception thrown when an invalid method is invoked on an expunged
Message.
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.
A FileDataSource class that allows us to specify the
Content-Type and Content-Transfer-Encoding.
A special DataHandler used only as a marker to indicate that
the source of the data is a MimePart (that is, a byte array
or a stream).
This class represents a MIME style email message.
This inner class extends the jakarta.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.
Multipart is a container that holds multiple body parts.
MultipartDataSource is a
DataSource
that contains body
parts.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.
This class implements the logical OR operator on individual SearchTerms.
This class holds MIME parameters (attribute-value pairs).
A struct to hold a literal value that shouldn't be further encoded.
A struct for a multi-segment parameter.
Map the LinkedHashMap's keySet iterator to an Enumeration.
A special wrapper for a StringBuffer that keeps track of the
number of characters used in a line, wrapping to a new line
as necessary; for use by the toString method.
A struct to hold an encoded value.
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 MimeBodyPart that handles data that has already been encoded.
The Provider is a class that describes a protocol
implementation.
This inner class defines the Provider type.
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.
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.
The exception thrown when a Search expression could not be handled.
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.
A ByteArrayInputStream that implements the SharedInputStream interface,
allowing the underlying byte array to be shared between multiple readers.
A
SharedFileInputStream
is a
BufferedInputStream
that buffers
data from the file and supports the mark
and reset
methods.A shared class that keeps track of the references
to a particular file so it can be closed when the
last reference is gone.
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.
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.
Service lookup is used to find implementations of this interface.
Enumeration with the different encoder types supported by the Mail API.
This class implements the match method for Strings.
This class implements comparisons for the message Subject header.
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
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 is a utility class that generates unique values.
The name of a URL.
Package-private class that defines the version of Jakarta Mail.