| Package | Description |
|---|---|
| org.mentawai.mail |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.
|
Email |
MultiPartEmail.addPart(javax.mail.internet.MimeMultipart multipart)
Add a new part to the email.
|
Email |
MultiPartEmail.addPart(javax.mail.internet.MimeMultipart multipart,
int index)
Add a new part to the email.
|
Email |
MultiPartEmail.addPart(String content,
String contentType)
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.
|
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.
|
MultiPartEmail |
MultiPartEmail.attach(DataSource ds,
String name,
String description)
Attach a file specified as a DataSource interface.
|
MultiPartEmail |
MultiPartEmail.attach(DataSource ds,
String name,
String description,
String disposition)
Attach a file specified as a DataSource interface.
|
MultiPartEmail |
MultiPartEmail.attach(EmailAttachment attachment)
Attach an EmailAttachement.
|
MultiPartEmail |
MultiPartEmail.attach(URL url,
String name,
String description)
Attach a file located by its URL.
|
MultiPartEmail |
MultiPartEmail.attach(URL url,
String name,
String description,
String disposition)
Attach a file located by its URL.
|
String |
HtmlEmail.embed(URL url,
String name)
Embeds an URL in the HTML.
|
protected javax.mail.Session |
Email.getMailSession()
Initialise a mailsession object
|
void |
MultiPartEmail.send()
Sends the mail message
|
void |
HtmlEmail.send()
Does the work of actually sending the email.
|
void |
Email.send() |
void |
Email.send(boolean recoverFromBadEmails)
Does the work of actually sending the email.
|
Email |
Email.setBcc(Collection aCollection)
Set a list of "BCC" addresses
|
Email |
Email.setCc(Collection aCollection)
Set a list of "CC" addresses.
|
Email |
Email.setFrom(String email)
Set the FROM field of the email.
|
Email |
Email.setFrom(String email,
String name)
Set the FROM field of the email.
|
HtmlEmail |
HtmlEmail.setHtmlMsg(String aHtml)
Set the HTML content.
|
Email |
SimpleEmail.setMsg(String messageBody)
Sets the content of the mail.
|
Email |
MultiPartEmail.setMsg(String msg)
Set the message of the email.
|
Email |
HtmlEmail.setMsg(String msg)
Set the message.
|
abstract Email |
Email.setMsg(String msg)
Define the content of the mail.
|
HtmlEmail |
HtmlEmail.setTextMsg(String aText)
Set the text content.
|
Email |
Email.setTo(Collection aCollection)
Set a list of "TO" addresses.
|
Copyright © 2015. All Rights Reserved.