Uses of Class
org.apache.commons.mail.EmailException
Packages that use EmailException
-
Uses of EmailException in org.apache.commons.mail
Methods in org.apache.commons.mail that throw EmailExceptionModifier and TypeMethodDescriptionAdds a blind BCC recipient to the email.Adds an array of blind BCC recipients to the email.Adds a blind BCC recipient to the email using the specified address and the specified personal name.Adds a blind BCC recipient to the email using the specified address, personal name, and charset encoding for the name.Adds a recipient CC to the email.Adds an array of CC recipients to the email.Adds a recipient CC to the email using the specified address and the specified personal name.Adds a recipient CC to the email using the specified address, personal name, and charset encoding for the name.Adds a new part to the email.MultiPartEmail.addPart
(MimeMultipart multipart) Adds a new part to the email.MultiPartEmail.addPart
(MimeMultipart multipart, int index) Adds a new part to the email.Email.addReplyTo
(String email) Adds a reply to address to the email.Email.addReplyTo
(String email, String name) Adds a reply to address to the email using the specified address and the specified personal name.Email.addReplyTo
(String email, String name, String charset) Adds a reply to address to the email using the specified address, personal name, and charset encoding for the name.Adds a recipient TO to the email.Adds a list of TO recipients to the email.Adds a recipient TO to the email using the specified address and the specified personal name.Adds a recipient TO to the email using the specified address, personal name, and charset encoding for the name.Attaches a file.Attaches a file located by its URL.Attaches a file located by its URL.MultiPartEmail.attach
(Path file, OpenOption... options) Attaches a path.MultiPartEmail.attach
(DataSource dataSource, String name, String description) Attaches a file specified as a DataSource interface.MultiPartEmail.attach
(DataSource dataSource, String name, String description, String disposition) Attaches a file specified as a DataSource interface.MultiPartEmail.attach
(EmailAttachment attachment) Attaches an EmailAttachment.void
Email.buildMimeMessage()
Builds the MimeMessage.void
HtmlEmail.buildMimeMessage()
Builds the MimeMessage.void
ImageHtmlEmail.buildMimeMessage()
Does the work of actually building the MimeMessage.void
MultiPartEmail.buildMimeMessage()
Builds the MimeMessage.Embeds a file in the HTML.Embeds a file in the HTML.Parses the specifiedString
as a URL that will then be embedded in the message.Embeds an URL in the HTML.HtmlEmail.embed
(DataSource dataSource, String name) Embeds the specifiedDataSource
in the HTML using a randomly generated Content-ID.HtmlEmail.embed
(DataSource dataSource, String name, String cid) Embeds the specifiedDataSource
in the HTML using the specified Content-ID.Email.getMailSession()
Gets the mail session used when sending this Email, creating the Session if necessary.Email.send()
Sends the email.Email.sendMimeMessage()
Sends the previously created MimeMessage to the SMTP server.Email.setBcc
(Collection<InternetAddress> collection) Sets a list of "BCC" addresses.Email.setCc
(Collection<InternetAddress> collection) Sets a list of "CC" addresses.Sets the FROM field of the email to use the specified address.Sets the FROM field of the email to use the specified address and the specified personal name.Sets the FROM field of the email to use the specified address, personal name, and charset encoding for the name.HtmlEmail.setHtmlMsg
(String html) Sets the HTML content.abstract Email
Sets the content of the mail.Sets the message.Sets the message of the email.Sets the content of the mail.Email.setReplyTo
(Collection<InternetAddress> collection) Sets a list of reply to addresses.HtmlEmail.setTextMsg
(String text) Sets the text content.Email.setTo
(Collection<InternetAddress> collection) Sets a list of "TO" addresses.