| Package | Description |
|---|---|
| io.mangoo.email |
| Modifier and Type | Method and Description |
|---|---|
Mail |
Mail.isHtml()
Mark the mail as an HTML mail
|
static Mail |
Mail.newHtmlMail() |
static Mail |
Mail.newMail() |
Mail |
Mail.withAttachment(File file)
Adds a file attachment to the mail
|
Mail |
Mail.withBCC(String recipient)
Adds a bcc recipient to the mail
|
Mail |
Mail.withBody(String body)
Adds a custom to the mail
This will overwrite rendering of the template!
|
Mail |
Mail.withCC(String recipient)
Adds a cc recipient to the mail
|
Mail |
Mail.withContent(String key,
Object value)
Adds content to the template which will be rendered
|
Mail |
Mail.withFrom(String from)
Adds the from address to the mail
|
Mail |
Mail.withRecipient(String recipient)
Adds a recipient to the mail
|
Mail |
Mail.withSubject(String subject)
Adds a subject to the mail
|
Mail |
Mail.withTemplate(String template)
Add a template to the mail which will be rendered before the mail is send
|
Copyright © 2016. All rights reserved.