Uses of Class
org.apache.commons.mail.Email
Packages that use Email
-
Uses of Email in org.apache.commons.mail
Subclasses of Email in org.apache.commons.mailModifier and TypeClassDescriptionclass
An HTML multipart email.class
Small wrapper class on top of HtmlEmail which encapsulates the required logic to retrieve images that are contained in "<img src=../>" elements in the HTML code.class
A multipart email.class
This class is used to send simple internet email messages without attachments.Methods in org.apache.commons.mail that return EmailModifier and TypeMethodDescriptionAdd a blind BCC recipient to the email.Add an array of blind BCC recipients to the email.Add a blind BCC recipient to the email using the specified address and the specified personal name.Add a blind BCC recipient to the email using the specified address, personal name, and charset encoding for the name.Add a recipient CC to the email.Add an array of CC recipients to the email.Add a recipient CC to the email using the specified address and the specified personal name.Add a recipient CC to the email using the specified address, personal name, and charset encoding for the name.Add a new part to the email.MultiPartEmail.addPart
(javax.mail.internet.MimeMultipart multipart) Add a new part to the email.MultiPartEmail.addPart
(javax.mail.internet.MimeMultipart multipart, int index) Add a new part to the email.Email.addReplyTo
(String email) Add a reply to address to the 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.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.Add a recipient TO to the email.Add a list of TO recipients to the email.Add a recipient TO to the email using the specified address and the specified personal name.Add a recipient TO to the email using the specified address, personal name, and charset encoding for the name.Email.setBcc
(Collection<javax.mail.internet.InternetAddress> aCollection) Set a list of "BCC" addresses.Email.setBounceAddress
(String email) Set the "bounce address" - the address to which undeliverable messages will be returned.Email.setCc
(Collection<javax.mail.internet.InternetAddress> aCollection) Set a list of "CC" addresses.Set the FROM field of the email to use the specified address.Set the FROM field of the email to use the specified address and the specified personal name.Set the FROM field of the email to use the specified address, personal name, and charset encoding for the name.abstract Email
Define the content of the mail.Set the message.Set the message of the email.Set the content of the mail.Email.setReplyTo
(Collection<javax.mail.internet.InternetAddress> aCollection) Set a list of reply to addresses.Email.setSendPartial
(boolean sendPartial) Sets whether the email is partially send in case of invalid addresses.Email.setSSLCheckServerIdentity
(boolean sslCheckServerIdentity) Sets whether the server identity is checked as specified by RFC 2595Email.setSSLOnConnect
(boolean ssl) Sets whether SSL/TLS encryption should be enabled for the SMTP transport upon connection (SMTPS/POPS).Email.setStartTLSEnabled
(boolean startTlsEnabled) Set or disable the STARTTLS encryption.Email.setStartTLSRequired
(boolean startTlsRequired) Set or disable the required STARTTLS encryption.Email.setSubject
(String aSubject) Sets the email subject.Email.setTo
(Collection<javax.mail.internet.InternetAddress> aCollection) Set a list of "TO" addresses.