Package javax.mail
Classes modeling a mail system.
See:
Description
Interface Summary
MessageAware
An interface optionally implemented by
DataSources
to
supply information to a
DataContentHandler
about the
message context in which the data content object is operating.
Part
The
Part
interface is the common base interface for
Messages and BodyParts.
UIDFolder
The
UIDFolder
interface is implemented by Folders
that can support the "disconnected" mode of operation, by providing
unique-ids for messages in the folder.
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.
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.
MessageContext
The context in which a piece of Message content is contained.
Multipart
Multipart is a container that holds multiple body parts.
Provider
The Provider is a class that describes a protocol
implementation.
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.
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.
NoSuchProviderException
This exception is thrown when Session attempts to instantiate a
Provider that doesn't exist.
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.
Package javax.mail Description
Classes modeling a mail system.
The javax.mail
package defines classes that are common to
all mail systems.