Exercises
It’s time to apply the knowledge you’ve acquired in this chapter regarding Mail Templates.
Exercise 1 – customizing the courtesy Contact Form Mail Copy
You have been asked to customize the email that a user receives after submitting a contact form on your website. The mail template we want to edit is called Contacts: Contact Form Mail Copy.
Check the email’s format
Before editing the mail template, ensure you enable HTML as Mail Format in the Options area of the Mail Templates component.
The email template will look as follows:
Figure 10.9 – Mail Templates | Edit template – Contact Form Mail Copy
- Change the Subject property to
Thank you for
contacting {SITENAME}
. - Update the text, adding the following lines before the actual content:
Hello {NAME}, thank you for contacting us.
Your message {SUBJECT} has been received.
- At the end of the message, add the following text as a footer...