## Uses of Class
org.apache.commons.mail.Email

- Packages that use Email
  Package | Description
  --- | ---
  org.apache.commons.mail | Commons-Email aims to provide a API for sending email.

- - ### Uses of Email in org.apache.commons.mail

    Subclasses of Email in org.apache.commons.mail
    Modifier and Type | Class and Description
    --- | ---
    `class` | `HtmlEmail` An HTML multipart email.
    `class` | `ImageHtmlEmail` Small wrapper class on top of HtmlEmail which encapsulates the required logic to retrieve images that are contained in "<img src=..
    `class` | `MultiPartEmail` A multipart email.
    `class` | `SimpleEmail` This class is used to send simple internet email messages without attachments.

    Methods in org.apache.commons.mail that return Email
    Modifier and Type | Method and Description
    --- | ---
    `Email` | Email.`addBcc(String... emails)` Add an array of blind BCC recipients to the email.
    `Email` | Email.`addBcc(String email)` Add a blind BCC recipient to the email.
    `Email` | Email.`addBcc(String email, String name)` Add a blind BCC recipient to the email using the specified address and the specified personal name.
    `Email` | Email.`addBcc(String email, String name, String charset)` Add a blind BCC recipient to the email using the specified address, personal name, and charset encoding for the name.
    `Email` | Email.`addCc(String... emails)` Add an array of CC recipients to the email.
    `Email` | Email.`addCc(String email)` Add a recipient CC to the email.
    `Email` | Email.`addCc(String email, String name)` Add a recipient CC to the email using the specified address and the specified personal name.
    `Email` | Email.`addCc(String email, String name, String charset)` Add a recipient CC to the email using the specified address, personal name, and charset encoding for the name.
    `Email` | MultiPartEmail.`addPart(MimeMultipart multipart)` Add a new part to the email.
    `Email` | MultiPartEmail.`addPart(MimeMultipart multipart, int index)` Add a new part to the email.
    `Email` | MultiPartEmail.`addPart(String partContent, String partContentType)` Add a new part to the email.
    `Email` | Email.`addReplyTo(String email)` Add a reply to address to the email.
    `Email` | Email.`addReplyTo(String email, String name)` Add a reply to address to the email using the specified address and the specified personal name.
    `Email` | Email.`addReplyTo(String email, String name, String charset)` Add a reply to address to the email using the specified address, personal name, and charset encoding for the name.
    `Email` | Email.`addTo(String... emails)` Add a list of TO recipients to the email.
    `Email` | Email.`addTo(String email)` Add a recipient TO to the email.
    `Email` | Email.`addTo(String email, String name)` Add a recipient TO to the email using the specified address and the specified personal name.
    `Email` | Email.`addTo(String email, String name, String charset)` Add a recipient TO to the email using the specified address, personal name, and charset encoding for the name.
    `Email` | Email.`setBcc(Collection<InternetAddress> aCollection)` Set a list of "BCC" addresses.
    `Email` | Email.`setBounceAddress(String email)` Set the "bounce address" - the address to which undeliverable messages will be returned.
    `Email` | Email.`setCc(Collection<InternetAddress> aCollection)` Set a list of "CC" addresses.
    `Email` | Email.`setFrom(String email)` Set the FROM field of the email to use the specified address.
    `Email` | Email.`setFrom(String email, String name)` Set the FROM field of the email to use the specified address and the specified personal name.
    `Email` | Email.`setFrom(String email, String name, String charset)` Set the FROM field of the email to use the specified address, personal name, and charset encoding for the name.
    `abstract Email` | Email.`setMsg(String msg)` Define the content of the mail.
    `Email` | MultiPartEmail.`setMsg(String msg)` Set the message of the email.
    `Email` | HtmlEmail.`setMsg(String msg)` Set the message.
    `Email` | SimpleEmail.`setMsg(String msg)` Set the content of the mail.
    `Email` | Email.`setReplyTo(Collection<InternetAddress> aCollection)` Set a list of reply to addresses.
    `Email` | Email.`setSendPartial(boolean sendPartial)` Sets whether the email is partially send in case of invalid addresses.
    `Email` | Email.`setSSLCheckServerIdentity(boolean sslCheckServerIdentity)` Sets whether the server identity is checked as specified by RFC 2595
    `Email` | Email.`setSSLOnConnect(boolean ssl)` Sets whether SSL/TLS encryption should be enabled for the SMTP transport upon connection (SMTPS/POPS).
    `Email` | Email.`setStartTLSEnabled(boolean startTlsEnabled)` Set or disable the STARTTLS encryption.
    `Email` | Email.`setStartTLSRequired(boolean startTlsRequired)` Set or disable the required STARTTLS encryption.
    `Email` | Email.`setSubject(String aSubject)` Sets the email subject.
    `Email` | Email.`setTo(Collection<InternetAddress> aCollection)` Set a list of "TO" addresses.

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