@Default public class Mail extends Object
| Constructor and Description |
|---|
Mail() |
| Modifier and Type | Method and Description |
|---|---|
void |
sendEmail(String to,
String from,
String title,
String message)
Send an email.
|
@PermitAll public void sendEmail(String to, String from, String title, String message) throws Exception
to - recipient email addressfrom - sender email addresstitle - subject of messagemessage - body of emailException - Failure to create or send emailCopyright © 2016. All rights reserved.