Fortinet Document Library

Version:


Table of Contents

Cookbook

6.4.0
Download PDF
Copy Link

Creating variables

Before you create your custom message you will likely want to create new predefined variables to insert into your custom message. Typically, these variables represent messages that you will frequently use.

  1. Go to System > Customization > Custom Message, select a replacement message (in this example, Virus message), and click Edit.
  2. Next to the Type field, click Edit Variable.
  3. The Virus message replacement message already has two predefined variables, File Name and Virus Name.

  4. Click New.
  5. The typical format for attribute names is %%EXAMPLE%%. Enter FILE_TYPE for the Name field so the type of file can also be identified in the message.
  6. Do not enter the name with the percentage symbols, as the system will not allow it. These are appended afterward.

  7. Enter an appropriate Display Name, and enter Text for the Content field.
  8. Click Create, and click Close to finish editing variables.
  9. There is a substantial list of variables available to use. See the "Creating variables" section in the FortiMail Administration Guide.

Creating variables

Before you create your custom message you will likely want to create new predefined variables to insert into your custom message. Typically, these variables represent messages that you will frequently use.

  1. Go to System > Customization > Custom Message, select a replacement message (in this example, Virus message), and click Edit.
  2. Next to the Type field, click Edit Variable.
  3. The Virus message replacement message already has two predefined variables, File Name and Virus Name.

  4. Click New.
  5. The typical format for attribute names is %%EXAMPLE%%. Enter FILE_TYPE for the Name field so the type of file can also be identified in the message.
  6. Do not enter the name with the percentage symbols, as the system will not allow it. These are appended afterward.

  7. Enter an appropriate Display Name, and enter Text for the Content field.
  8. Click Create, and click Close to finish editing variables.
  9. There is a substantial list of variables available to use. See the "Creating variables" section in the FortiMail Administration Guide.