Package javax.mail
Classes modelling a mail system.
-
Interface Summary Interface Description MessageAware A data source may implement this interface to supply information to a data content handler about the message context of the data content.MultipartDataSource A data source that contains body parts.Part A part consists of a set of attributes and a content.QuotaAwareStore Interface implemented by mail stores that support quotas.UIDFolder A folder that supports permanent references to messages in the form of a long integer (i.e. -
Class Summary Class Description Address An address representing an endpoint in a messaging system.Authenticator Callback object that can be used to obtain password information during authentication.BodyPart A MIME body part.FetchProfile Specification of the facets of a message that are to be preloaded from the server.FetchProfile.Item Base class of all the facets of a message that can be fetched.Flags The set of flags on a message.Flags.Flag An individual system flag.Folder A folder is a hierarchical messaging container in a store.Header A header is a name/value pair containing metadata about a message's content and/or routing information.Message An abstract mail message, consisting of headers and content.Message.RecipientType The types of recipients to which a message can be sent.MessageContext The context of a datum of message content.Multipart A multipart is a container for multiple body parts.PasswordAuthentication Container for a username/password combination.Provider A description of a messaging implementation that can store or send messages.Provider.Type A provider type (STORE or TRANSPORT).Quota A set of quotas for a given quota root.Quota.Resource An individual quota resource.Service An abstract messaging service (store or transport).Session A session represents the context of a messaging transaction.Store A message store that can be used to save and retrieve messages.Transport A message transport mechanism that can be used to deliver messages.UIDFolder.FetchProfileItem A fetch profile item for fetching UIDs.URLName The name of a URL. -
Exception Summary Exception Description AuthenticationFailedException An exception thrown to indicate that authentication failed during a service'sconnect
method.FolderClosedException An exception thrown when a method is invoked on a closed folder or one of its messages.FolderNotFoundException An exception thrown when a method is invoked on a nonexistent folder.IllegalWriteException An exception thrown when a modification of a read-only property is attempted.MessageRemovedException An exception thrown when an invalid method is invoked on an expunged message.MessagingException A general messaging exception.MethodNotSupportedException An exception thrown when an operation is not supported by the implementation.NoSuchProviderException An exception thrown on an attempt to instantiate a provider that doesn't exist.ReadOnlyFolderException An exception thrown when an attempt is made to open a folder in read-write mode when the folder can only be opened read-only.SendFailedException An exception thrown when a message cannot be sent.StoreClosedException An exception thrown when a method is invoked on a message or folder whose owner store has been closed for some reason.