Skip to main content

Can I modify the contents of the notification e-mails sent to admins?

To modify the contents of notification e-mails to admins, use Smarty to create a branch for inquiry/inquiry_contact and other admin-directed message templates.

Location

Set in the "Body" field of the following message template.

ModuleIdentifier
Forminquiry/inquiry_contact

Accessing the screen

In the left sidebar menu, select [Operation] -> [Message template].

Image from Gyazo

From the Message template list, click the title with the identifier inquiry/inquiry_contact.

Image from Gyazo

You will be redirected to the template editor.

Image from Gyazo

Example case

In the example below, the notification e-mail will not be sent to the admin if the form was submitted from test@example.com. Moreover, notifications from certain forms (i.e., certain inquiry IDs or form IDs) will be carbon copied (CC'd) to specified addresses.

{if $items.email.value eq 'test@example.com'}
RCMS-X-AVOID:1
{/if}

{if $inquiry_id eq 6}
RCMS-X-CC:list1@example.com
{else if $inquiry_id eq 7}
RCMS-X-CC:list2@example.com
{/if}

The form submission has been received.
Please see the contents below.
{$smarty.const.ROOT_MNG_URL}/management/

More information

For further information on modifying message templates, see:


Support

If you have any other questions, please contact us or check out Our Slack Community.