customized-message
Use this command to customize text on the FortiMail unit and the email that it processes.
Custom messages are used in many places such as login pages, IBE messages, disclaimer messages, email templates, and other system-related messages.
There is a limit of 8191 characters for each custom message.
Syntax
config customized-message
edit <customized-message-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}
next
end
next
end
Variable |
Description |
Default |
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 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. |
|
|
Select a type that matches what you entered in <customized-message-type_name>, either:
Settings inside this sub-command vary by this selection. |
|
|
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. For example, if <customized-message-type_name> is |
|
|
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 |
|
|
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 |
beginning |
|
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 text to insert at the start of the subject line, such as This setting is available only if {<email-template_name> | <message_name>} is |
|
|
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 |
|
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 |
|
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. |
|