# Uses of Package
javax.mail

- Packages that use javax.mail
  Package | Description
  --- | ---
  javax.mail | The JavaMailTM API provides classes that model a mail system.
  javax.mail.event | Listeners and events for the JavaMail API.
  javax.mail.internet | Classes specific to Internet mail systems.
  javax.mail.search | Message search terms for the JavaMail API.

- Classes in javax.mail used by javax.mail
  Class and Description
  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.
  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.
  MessagingException The base class for all exceptions thrown by the Messaging classes
  Multipart Multipart is a container that holds multiple body parts.
  MultipartDataSource MultipartDataSource is a `DataSource` that contains body parts.
  NoSuchProviderException This exception is thrown when Session attempts to instantiate a Provider that doesn't exist.
  Part The `Part` interface is the common base interface for Messages and BodyParts.
  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.
  Quota This class represents a set of quotas for a given quota root.
  Quota.Resource An individual resource in a quota root.
  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.

- Classes in javax.mail used by javax.mail.event
  Class and Description
  Address This abstract class models the addresses in a message.
  Folder Folder is an abstract class that represents a folder for mail messages.
  Message This class models an email message.
  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.

- Classes in javax.mail used by javax.mail.internet
  Class and Description
  Address This abstract class models the addresses in a message.
  BodyPart This class models a Part that is contained within a Multipart.
  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.
  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.
  MessageContext The context in which a piece of Message content is contained.
  MessagingException The base class for all exceptions thrown by the Messaging classes
  Multipart Multipart is a container that holds multiple body parts.
  Part The `Part` interface is the common base interface for Messages and BodyParts.
  Session The Session class represents a mail session and is not subclassed.

- Classes in javax.mail used by javax.mail.search
  Class and Description
  Address This abstract class models the addresses in a message.
  Flags The Flags class represents the set of flags on a Message.
  Message This class models an email message.
  Message.RecipientType This inner class defines the types of recipients allowed by the Message class.
  MessagingException The base class for all exceptions thrown by the Messaging classes

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.