Toggle menu
876
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

SendMail Template: Difference between revisions

From Catglobe Wiki
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 ==..."
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[Will obsolete soon and replace by [[EmailTemplate_send|EmailTemplate_send]]. More detail at [[ConversionMethods|ConversionMethods]] ]
= sendMailTemplate =
= sendMailTemplate =


Line 22: Line 23:


sendMailTemplate("some_email@somesmail.com", "somebody", 1);<br>
sendMailTemplate("some_email@somesmail.com", "somebody", 1);<br>
[[Category:Email_and_SMS_Functions]]

Latest revision as of 02:27, 13 May 2022

[Will obsolete soon and replace by EmailTemplate_send. More detail at ConversionMethods ]

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);