| Modifier and Type | Method and Description |
|---|---|
Mail |
Mail.bcc(javax.mail.internet.InternetAddress bcc)
Adds an email address as
bcc recipient.Calling this method multiple times adds multiple bcc addresses to the email. |
Mail |
Mail.bcc(String bcc) |
Mail |
Mail.cc(javax.mail.internet.InternetAddress cc)
Adds an email address as
cc recipient.Calling this method multiple times adds multiple cc addresses to the email. |
Mail |
Mail.cc(String cc) |
Mail |
Mail.from(javax.mail.internet.InternetAddress from)
Adds an email address as sender.
Calling this method overwrites any value for the from field set previously. |
Mail |
Mail.from(String from) |
Mail |
Mail.to(javax.mail.internet.InternetAddress to)
Adds an email address as
to recipient.Calling this method multiple times adds multiple to addresses to the email. |
Mail |
Mail.to(String to) |
Mail |
Mail.withHtml(String html) |
Mail |
Mail.withSubject(String subject) |
Mail |
Mail.withText(String txt) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Mailer.send(Mail mail)
Verifies and sends given Mail argument.
Verification checks whether sufficient information is availabe for sending the given Mail instance. In accordance with RFC 2822, the only required email headers are origination date (section 3.6.1) and from (section 3.6.2). |
Copyright © 2015. All rights reserved.