Class Summary |
Address |
This abstract class models the addresses in a message. |
Authenticator |
The class Authenticator represents an object that knows how to obtain
authentication for a network connection. |
BodyPart |
This class models a Part that is contained within a Multipart. |
FetchProfile |
Clients use a FetchProfile to list the Message attributes that
it wishes to prefetch from the server for a range of messages.
Messages obtained from a Folder are light-weight objects that
typically start off as empty references to the actual messages. |
FetchProfile.Item |
This inner class is the base class of all items that
can be requested in a FetchProfile. |
Flags |
The Flags class represents the set of flags on a Message. |
Flags.Flag |
This inner class represents an individual system flag. |
Folder |
Folder is an abstract class that represents a folder for mail
messages. |
Header |
The Header class stores a name/value pair to represent headers. |
Message |
This class models an email message. |
Message.RecipientType |
This inner class defines the types of recipients allowed by
the Message class. |
MessageContext |
The context in which a piece of Message content is contained. |
Multipart |
Multipart is a container that holds multiple body parts. |
PasswordAuthentication |
The class PasswordAuthentication is a data holder that is used by
Authenticator. |
Provider |
The Provider is a class that describes a protocol
implementation. |
Provider.Type |
This inner class defines the Provider type. |
Service |
An abstract class that contains the functionality
common to messaging services, such as stores and transports. |
Session |
The Session class represents a mail session and is not subclassed. |
Store |
An abstract class that models a message store and its
access protocol, for storing and retrieving messages. |
Transport |
An abstract class that models a message transport. |
UIDFolder.FetchProfileItem |
A fetch profile item for fetching UIDs. |
URLName |
The name of a URL. |
Exception Summary |
AuthenticationFailedException |
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). |
FolderClosedException |
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. |
FolderNotFoundException |
This exception is thrown by Folder methods, when those
methods are invoked on a non existent folder. |
IllegalWriteException |
The exception thrown when a write is attempted on a read-only attribute
of any Messaging object. |
MessageRemovedException |
The exception thrown when an invalid method is invoked on an expunged
Message. |
MessagingException |
The base class for all exceptions thrown by the Messaging classes |
MethodNotSupportedException |
The exception thrown when a method is not supported by the
implementation |
NoSuchProviderException |
This exception is thrown when Session attempts to instantiate a
Provider that doesn't exist. |
SendFailedException |
This exception is thrown when the message cannot be sent.
The exception includes those addresses to which the message could not be
sent as well as the valid addresses to which the message was sent and
valid addresses to which the message was not sent. |
StoreClosedException |
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. |