|
Using email templates
An Email Template is the "body" text of the email to send to a user. It can include field names enclosed in "%" (or a custom fieldname prefix/suffix), and written in all UPPERCASE. All field names specified in this way are replaced with the value of the field before being used.
For example, consider the following email template:
Dear %USERNAME%,
We have processed your request, and your
order %ORDER% is now ready for shipment.
Two fields are used in the above text: USERNAME, and ORDER. If the email that triggered the action (that uses this email template) contains the following fields:
Username:Virtual User
Order:1234
The reply email that is sent to the user, based on the above email template and the above order email, would be as follows:
Dear Virtual User,
We have processed your request, and your
order 1234 is now ready for shipment.
|