@ProviderType
public interface EmailService
| Modifier and Type | Method and Description |
|---|---|
List<javax.mail.internet.InternetAddress> |
sendEmail(String templatePath,
Map<String,String> emailParams,
javax.mail.internet.InternetAddress... recipients)
Construct an email based on a template and send it to one or more
recipients.
|
List<javax.mail.internet.InternetAddress> |
sendEmail(String templatePath,
Map<String,String> emailParams,
Map<String,DataSource> attachments,
javax.mail.internet.InternetAddress... recipients)
Construct an email with attachments based on a template and send it to one or more
recipients.
|
List<String> |
sendEmail(String templatePath,
Map<String,String> emailParams,
Map<String,DataSource> attachments,
String... recipients)
Construct an email with attachments based on a template and send it to one or more
recipients.
|
List<String> |
sendEmail(String templatePath,
Map<String,String> emailParams,
String... recipients)
Construct an email based on a template and send it to one or more
recipients.
|
List<javax.mail.internet.InternetAddress> sendEmail(String templatePath, Map<String,String> emailParams, javax.mail.internet.InternetAddress... recipients)
templatePath - Absolute path of the template used to send the email.emailParams - Replacement variable map to be injected in the templaterecipients - recipient email addressesList<String> sendEmail(String templatePath, Map<String,String> emailParams, String... recipients)
templatePath - Absolute path of the template used to send the email.emailParams - Replacement variable map to be injected in the templaterecipients - recipient email addresses. Invalid email addresses are skipped.List<javax.mail.internet.InternetAddress> sendEmail(String templatePath, Map<String,String> emailParams, Map<String,DataSource> attachments, javax.mail.internet.InternetAddress... recipients)
templatePath - Absolute path of the template used to send the email.emailParams - Replacement variable map to be injected in the templateattachments - attachments map with file namerecipients - recipient email addressesList<String> sendEmail(String templatePath, Map<String,String> emailParams, Map<String,DataSource> attachments, String... recipients)
templatePath - Absolute path of the template used to send the email.emailParams - Replacement variable map to be injected in the templateattachments - attachments map with file namerecipients - recipient email addressesCopyright © 2013–2020 Adobe. All rights reserved.