customized-message
Use this command to customize text.
Customizable messages are used in many places, such as FortiMail GUI login pages, rejection messages, IBE messages, disclaimers, email templates, and other system-related messages.
There is a limit of 8191 characters for each custom message.
Syntax
config customized-message
edit <type_name>
config variable
edit %%<variable_name>%%
set display-name "<gui-label_str>"
next
end
config {email-template | message}
edit {<email-template_name> | <message_name>}
[set description "<comment_str>"]
set subject-tag-status {enable | disable}
set header-insertion-status {enable | disable}
set location {beginning | end}
set format {html | multiline | text}
set disclaimer-convert-text-to-html-status {enable | disable}
set disclaimer-preview-orig-msg-status {enable | disable}
next
end
next
end
|
Variable |
Description |
Default |
|
Enter the variable name to use in the custom message. For example, if you enter Many predefined variables exist, and you cannot edit their values or rename them. Variables cannot be reused in other messages or email templates. For a list of predefined variables and which templates they can be used in, see the FortiMail Administration Guide. |
|
|
|
Enter the name of the email template or message. Valid inputs are usually only existing names; you cannot create a new entry. Exceptions include types where new messages can be configured and selected, such as disclaimers. For example, if <type_name> is |
|
|
|
Select a type that matches what you entered in <type_name>, either:
Settings inside this sub-command vary by this selection. |
|
|
|
Enter the name of a message that you want to customize, such as Many predefined message types exist. To display the full list of options, enter: edit ? |
|
|
|
Enter the value of the variable or custom message. |
|
|
|
Enter a comment or description. This setting is available only if {<email-template_name> | <message_name>} is |
|
|
|
Enable if either:
Plain text email (MIME type Multipart email is not effected. This setting applies only if {<email-template_name> | <message_name>} is |
disable |
|
|
Enable if you want the preview to use the original message's content. In email clients such as Microsoft Outlook, Apple Mail on iOS, and FortiMail webmail, message preview text appears in the message list and/or notification banners. Disable if you want the preview to start with the disclaimer. Original contents may still appear after the disclaimer if the disclaimer is short, depending on how much text the email client shows for the preview. This setting applies only if Note: This setting is ignored if both:
(HTML is required to control display of the preview.) This setting is also ignored if the disclaimer is applied by an antispam action profile, antivirus action profile, or content action profile, and that |
disable |
|
|
Enter a label that will appear in the variable list when you click Insert Variables in the GUI while customizing a message or creating a variable. For example, you could enter |
|
|
|
Enter the sender email address ( This setting is available only for email templates. |
|
|
|
Enter the recipient email address ( This setting is available only for email templates. |
|
|
|
Select the format of the email. This setting is available only for email templates. |
html |
|
|
Enter the sender email address ( This setting is available only for email templates. |
|
|
|
Enable or disable insertion of a header line. Also configure header-name <key_str> and header-value "<text_str>". This setting is available only if {<email-template_name> | <message_name>} is |
disable |
|
|
Enter the key of the header line. For example, in this header: X-Corp-News: Daily the key is |
|
|
|
Enter the value of the header. For example, in this header: X-Corp-News: Daily the value is |
|
|
|
Enter the body that will be used in the HTML format version of the email. Can be up to 4000 characters. This setting is available only for email templates. |
|
|
|
Select where in the message body to insert the custom message. This setting is available only if {<email-template_name> | <message_name>} is Note: This setting is ignored if the disclaimer is applied by an antispam action profile, antivirus action profile, or content action profile's |
beginning |
|
|
Enable or disable prepending or appending the custom message. Also configure location {beginning | end}. This setting is available only if {<email-template_name> | <message_name>} is |
disable |
|
|
Enable or disable a tag in the subject line. Also configure subject-tag "<text_str>". This setting is available only if {<email-template_name> | <message_name>} is |
disable |
|
|
Enter the text to insert at the start of the subject line, such as This setting is available only if {<email-template_name> | <message_name>} is |
|
|
|
Enter the subject line that will be used in the email. You can either enter text directly, or insert a variable such as This setting is available only for email templates. |
|
|
|
Enter the body that will be used in the plain text format version of the email. Can be up to 4000 characters. This setting is available only for email templates. |
|
|
|
Enter the recipient email address ( This setting is available only for email templates. |
|