Mail |
Mail.attachment(File file) |
Adds a file as attachment to the mail
|
Mail |
Mail.bcc(String bcc) |
Appends BCC address.
|
Mail |
Mail.bcc(String... bccs) |
Appends BCC address
|
Mail |
Mail.cc(String cc) |
Appends CC address
|
Mail |
Mail.cc(String... ccs) |
Sets one or more CC address
|
Mail |
Mail.from(String fromName,
String fromAddress) |
Sets the FROM address and name
|
Mail |
Mail.header(String name,
String value) |
Sets header value.
|
Mail |
Mail.htmlMessage(String message) |
Adds html message text.
|
Mail |
Mail.htmlMessage(String template,
Map<String,Object> content) |
Adds html message text which uses a given template and content to render
|
static Mail |
Mail.newMail() |
Creates a new mail instance
|
Mail |
Mail.priority(int priority) |
Sets the email priority
|
Mail |
Mail.replyTo(String replyTo) |
Appends REPLY-TO address
|
Mail |
Mail.subject(String subject) |
Sets message subject with specified encoding to override default platform encoding.
|
Mail |
Mail.textMessage(String message) |
Adds plain message text
|
Mail |
Mail.textMessage(String template,
Map<String,Object> content) |
Adds plain message text which uses a given template and content to render
|
Mail |
Mail.to(String to) |
Appends TO address
|
Mail |
Mail.to(String... tos) |
Appends one or more TO address
|