SunONE Application Server v8.0 PE

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.
MultipartDataSource MultipartDataSource is a DataSource that contains body parts.
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.
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.
ReadOnlyFolderException This exception is thrown when an attempt is made to open a folder read-write access when the folder is marked read-only.
SendFailedException This exception is thrown when the message cannot be 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.
 

Package javax.mail Description

Classes modeling a mail system. The javax.mail package defines classes that are common to all mail systems.


SunONE Application Server v8.0 PE

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.