Name

Package javax.mail

Synopsis

The javax.mail package contains the core functionality of the JavaMail API. The package provides the basic messaging environment (the JavaMail session, abstract classes for JavaMail services and providers), service naming, and classes for storing and manipulating messages. The package also includes two interfaces extending interfaces from the javax.activation package.

Interfaces

  • MessageAware

  • MultipartDataSource

  • Part

  • UIDFolder

Classes

  • Address

  • Authenticator

  • BodyPart

  • FetchProfile

  • FetchProfile.Item

    • UIDFolder.FetchProfileItem

  • Flags , Serializable;

  • Flags.Flag

  • Folder

  • Header

  • Message

  • Message.RecipientType

  • MessageContext

  • Multipart

  • PasswordAuthentication

  • Provider

  • Provider.Type

  • Service

    • Store

    • Transport

  • Session

  • URLName

Exceptions

  • MessagingException

    • AuthenticationFailedException

    • FolderClosedException

    • FolderNotFoundException

    • IllegalWriteException

    • MessageRemovedException

    • MethodNotSupportedException

    • NoSuchProviderException

    • ReadOnlyFolderException

    • SendFailedException

    • StoreClosedException

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.