Difference between revisions of "SendMail Template"
(Created page with "= sendMailTemplate = Retrieves the mail template with the specified template id, uses its subject and message to send email. '''It only works in qas context''' == Syntax ==...") |
|||
Line 22: | Line 22: | ||
sendMailTemplate("some_email@somesmail.com", "somebody", 1);<br> | sendMailTemplate("some_email@somesmail.com", "somebody", 1);<br> | ||
+ | [[Category:Email_and_SMS_Functions]] |
Revision as of 09:16, 10 March 2022
sendMailTemplate
Retrieves the mail template with the specified template id, uses its subject and message to send email. It only works in qas context
Syntax
sendMailTemplate(email, alias, mailTemplateId)
Arguments
email: Is an expression of string type. It is the receiver’s email address.
alias: Is an expression of string type. It is the receiver’s alias name.
mailTemplateId: Is an expression of number type. It is the mail template id
Return type
empty
Examples
sendMailTemplate("some_email@somesmail.com", "somebody", 1);