# Package org.apache.commons.mail

Commons-Email aims to provide a API for sending email.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  DataSourceResolver | Creates a `DataSource` based on an URL.

- Class Summary
  Class | Description
  --- | ---
  ByteArrayDataSource | Deprecated since 1.4, use `ByteArrayDataSource` instead
  DefaultAuthenticator | This is a very simple authentication object that can be used for any transport needing basic userName and password type authentication.
  Email | The base class for all email messages.
  EmailAttachment | This class models an email attachment.
  EmailConstants | Constants used by Email classes.
  HtmlEmail | An HTML multipart email.
  ImageHtmlEmail | Small wrapper class on top of HtmlEmail which encapsulates the required logic to retrieve images that are contained in "<img src=..
  MultiPartEmail | A multipart email.
  SimpleEmail | This class is used to send simple internet email messages without attachments.

- Exception Summary
  Exception | Description
  --- | ---
  EmailException | Exception thrown when a checked error occurs in commons-email.

## Package org.apache.commons.mail Description

Commons-Email aims to provide a API for sending email. It is built on top of the Java Mail API, which it aims to simplify. All help is gratefully received.

Copyright © 2001–2017 The Apache Software Foundation. All rights reserved.