Uses of Package javax.mail (JavaMail API documentation)
Date: 2018-05-06

# Uses of Package
javax.mail

- Packages that use javax.mail
  Package | Description
  --- | ---
  com.sun.mail.dsn | Support for creating and parsing Delivery Status Notifications.
  com.sun.mail.imap | An IMAP protocol provider for the JavaMail API that provides access to an IMAP message store.
  com.sun.mail.pop3 | A POP3 protocol provider for the JavaMail API that provides access to a POP3 message store.
  com.sun.mail.smtp | An SMTP protocol provider for the JavaMail API that provides access to an SMTP server.
  com.sun.mail.util | Utility classes for use with the JavaMail API.
  com.sun.mail.util.logging | Contains JavaMailTM extensions for the JavaTM platform's core logging facilities.
  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 com.sun.mail.dsn
  Class and Description
  BodyPart This class models a Part that is contained within a Multipart.
  Message This class models an email message.
  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.

- Classes in javax.mail used by com.sun.mail.imap
  Class and Description
  Address This abstract class models the addresses in a message.
  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.
  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.
  Message This class models an email message.
  Message.RecipientType This inner class defines the types of recipients allowed by the Message class.
  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
  Part The `Part` interface is the common base interface for Messages and BodyParts.
  Quota This class represents a set of quotas for a given quota root.
  QuotaAwareStore An interface implemented by Stores that support quotas.
  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.
  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.
  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.
  URLName The name of a URL.

- Classes in javax.mail used by com.sun.mail.pop3
  Class and Description
  FetchProfile Clients use a FetchProfile to list the Message attributes that it wishes to prefetch from the server for a range of messages.
  Flags The Flags class represents the set of flags on a Message.
  Folder Folder is an abstract class that represents a folder for mail messages.
  Message This class models an email message.
  MessagingException The base class for all exceptions thrown by the Messaging classes
  Part The `Part` interface is the common base interface for Messages and BodyParts.
  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.
  URLName The name of a URL.

- Classes in javax.mail used by com.sun.mail.smtp
  Class and Description
  Address This abstract class models the addresses in a message.
  Message This class models an email message.
  MessagingException The base class for all exceptions thrown by the Messaging classes
  Part The `Part` interface is the common base interface for Messages and BodyParts.
  SendFailedException This exception is thrown when the message cannot be sent.
  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.
  Transport An abstract class that models a message transport.
  URLName The name of a URL.

- Classes in javax.mail used by com.sun.mail.util
  Class and Description
  MessagingException The base class for all exceptions thrown by the Messaging classes

- Classes in javax.mail used by com.sun.mail.util.logging
  Class and Description
  Authenticator The class Authenticator represents an object that knows how to obtain authentication for a network connection.

- 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< /a>.