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 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.Attach a file.Attach a file located by its URL.Attach a file located by its URL.MultiPartEmail.attach
(DataSource ds, String name, String description) Attach a file specified as a DataSource interface.MultiPartEmail.attach
(DataSource ds, String name, String description, String disposition) Attach a file specified as a DataSource interface.MultiPartEmail.attach
(EmailAttachment attachment) Attach an EmailAttachment.void
Email.buildMimeMessage()
Does the work of actually building the MimeMessage.void
HtmlEmail.buildMimeMessage()
Does the work of actually building the MimeMessage.void
ImageHtmlEmail.buildMimeMessage()
Does the work of actually building the MimeMessage.void
MultiPartEmail.buildMimeMessage()
Does the work of actually building the MimeMessage.Embeds a file in the HTML.Embeds a file in the HTML.Attempts to parse 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.javax.mail.Session
Email.getMailSession()
Determines 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<javax.mail.internet.InternetAddress> aCollection) Set a list of "BCC" addresses.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.HtmlEmail.setHtmlMsg
(String aHtml) Set the HTML content.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.HtmlEmail.setTextMsg
(String aText) Set the text content.Email.setTo
(Collection<javax.mail.internet.InternetAddress> aCollection) Set a list of "TO" addresses.