Configuring system settings : Customizing GUI, replacement messages and email templates : Customizing email templates
Customizing email templates
The FortiMail unit may send out notification email in the following cases:
To send out quarantine reports (see “Configuring email quarantines and quarantine reports”)
To send out IBE-related email (see “FortiMail IBE configuration workflow”)
To repackage virus-infected email with new email body (see “Configuring antivirus action profiles”)
To send out notification email to any mail recipient for any FortiMail actions (see “Configuring notification profiles”)
FortiMail allows you to customize the email templates for all the above mentioned email/report types.
To customize email templates
1. Go to System > Customization > Custom Email Template.
2. To edit a template, double-click it or select it and click Edit.
3. Enter the replacement message and click OK, or click Reset To Default to revert the replacement message to its default text.
4. To format replacement messages in HTML, use HTML tags, such as <b>some bold text</b>.
There is a limit of 250 characters for the Subject field, 60 characters for the From field, and 4000 characters for HTML and Text messages each in the Content field.
5. To add a variable:
Select Insert Variables next to the area to insert a variable. A pop-up window appears.
Place your mouse cursor in the text message at the insertion point for the variable.
Click the name of the variable to add. It appears at the insertion point.
To add another variable, click the message area first, then click the variable name.
Click the Close (X) icon to close the window.
6. To insert a color:
Click Insert Color Code. A pop-up window of color swaths appears.
Place your mouse cursor in the text at the insertion point for the color code, or highlight an existing color code to change.
Click a color in the color swath.
For example, to replace the color code in the HTML tag <tr bgcolor="#3366ff">, you can highlight "#3366ff", then select the color you want from the color palette.
To add a new color code, include it with HTML tags as applicable, such as <tr bgcolor="#3366ff">.
7. To determine if you HTML and color changes are correct, click Preview. The replacement message appears in HTML format.
8. Click OK, or click Reset To Default to revert the replacement message to its default text