Convert an email template to rich HTML
-
- UpdatedAug 1, 2024
- 2 minutes to read
- Xanadu
- Notifications
If you have an email template created prior to the Eureka release, you can convert it to rich HTML.
Before you begin
Role required: admin
Procedure
Example
Whether you are working with templates converted from earlier versions or creating
new templates in the rich HTML format, it is a good practice to write mail scripts
in ${mail_script:script
name}
embedded script tag should be added to the email template body.
This makes it easy to use the same scripts in multiple email templates. All that
must be copied and pasted from one template to the next is the embedded script
tag.
If you manually enter a mail script in the body of a new or converted email notification or template, and then attempt to save the record, a message asks whether the mail script should be converted. Unconverted mail scripts often fail to run from inside the HTML editor. If you select Yes, the script is added to the Email Script [sys_script_email] table and is automatically replaced in the body with an embedded script tag.
You can view the mail scripts in their original form by opening the email template and clicking the Show Notification Scripts related link.