Contact Form 7 allows you to edit mail templates very flexibly. You are able to edit not only the message body, but also message header fields. And you can manage HTML mail as well. In this article, I’ll show you the settings for each field and explain how to set up your mail with these settings.
Fields in the Mail tab panel
You can edit mail templates in the Mail tab panel.
Sample:
mail1: From field: [your-name] <[your-email]>
mail2: From field: Chinese Acupuncture <info@211cn.ca>
mail2: Message Body:
Someone sent the following message on your behave. If you did not send this message please contact us at info@chineseacupuncture.ca.
[your-message]
Basic header fields (To, From and Subject)
These are basic and necessary message header fields; and you can embed mail-tags anywhere in these fields.
Additional headers
You can insert additional message header fields here, such as Cc and Bcc. There should be one field per line. You can embed mail-tags anywhere in these fields.
Message body
This is the message body; you can embed mail-tags anywhere in this field.
If you check Exclude lines with blank mail-tags from output box, lines including mail-tags that have empty values will be excluded from the message body of the actual mail output.
By default, plain text is used for the message body. To use HTML, check Use HTML content type box.
Mail (2) is an additional mail template. It is often used as an autoresponder, but you can use it for any purpose. Mail (2) is sent only when the primary Mail has been sent successfully.
Comments