Trillo Java SDK
Search
K

EmailApi (Email APIs)

sendEmail

Send email to recipient via the internally provision gateway of the workbench.​
EmailApi.sendEmail(String appName, String email, String subject, String content, String template,
String fromAlias, Map<String, Object> templateParams)
or
EmailApi.sendEmail(
final String toEmail,
final String subject,
String content)
parameters:
appName: name of the internal application
email: email of the sender
subject: subject of a email
content: contents
template: template to be used
fromAlias: alias name
templateParams: template parameters
toEmail: recipient address
Return:
result of the operation​

sendEmailMarkDownContent

Send email with markdown contents.
EmailApi.sendEmailMarkDownContent(String mailTo, String body, String subject)
parameters:
mailTo: recipient address
body: body with markdown
subject: subject of the email
Return:
result of the operation​
Last modified 1yr ago