Answers.Body: <p>The "HTML Email Template" option in Settings > Email in the Craft control panel is completely unrelated to the Contact Form plugin.</p>
  
  <p>If you want to change the body of the email that gets sent out, you'll need to write a <a href="http://pluginfactory.io" rel="nofollow noreferrer">plugin</a> that listens to the <code>beforeMessageCompile</code> event as documented here: <a href="https://github.com/pixelandtonic/ContactForm#the-contactformbeforemessagecompile-event" rel="nofollow noreferrer">https://github.com/pixelandtonic/ContactForm#the-contactformbeforemessagecompile-event</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-11-24T13:38:17.940Z
Answers.Text: Thank you. I can understand that's the solution but as a front-end dev it's very difficult to understand how that works. I wonder why didn't they just include the {fromName} and {fromEmail} and {subject} as part of the body email by default ...
Answers.UserDisplayName: DorinV
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-11-21T19:09:13.267Z
Answers.LastActivityDate: 2016-11-21T19:09:13.267Z
Answers.UserDisplayName: Brad Bell
Body: <p>I have a contact form that works using Postmark and <a href="http://github.com/pixelandtonic/ContactForm" rel="nofollow noreferrer">Contact Form</a> plugin.</p>
  
  <p>I'm trying to find a way to edit the format of the email that I'm getting when someone sends a message via the website contact form. 
  E.g.</p>
  
  <pre><code>Subject: 
  Message from: {{ name.field }}
  
  Full name:
  {{ name.field }}
  
  Email:
  {{ email.field }}
  
  Department:
  {{ department.field }}
  
  Message:
  {{ message.field }}
  </code></pre>
  
  <p>I can see that there's a "HTML Email Template" option in Settings > Email. But I couldn't find any documentation.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-11-21T15:19:58.463Z
Comments.Text: Is this post any help? http://craftcms.stackexchange.com/questions/2232/pt-contact-form-plugin-html-email-templates or possibly, although unlikely, this http://craftcms.stackexchange.com/questions/1582/pass-content-of-system-messages-to-html-email-template You could also go the plugin route https://sprout.barrelstrengthdesign.com/craft-plugins/email
Comments.UserDisplayName: Mark Busnelli Jr
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-11-21T16:05:00.197Z
Comments.Text: No, unfortunately none of them help. Sprout: I wouldn't want to pay $99 just to have an email template ...
Comments.UserDisplayName: DorinV
Tags: <templating><plugin-contactform>
Title: Craft CMS HTML Email Template
ThreadText: # Craft CMS HTML Email Template
  
  (Asked by: username_0 on 2016-11-21)
  
  I have a contact form that works using Postmark and [Contact Form](http://github.com/pixelandtonic/ContactForm) plugin.
  
  I'm trying to find a way to edit the format of the email that I'm getting when someone sends a message via the website contact form.
  E.g.
  
  ```
  Subject: 
  Message from: {{ name.field }}
  
  Full name:
  {{ name.field }}
  
  Email:
  {{ email.field }}
  
  Department:
  {{ department.field }}
  
  Message:
  {{ message.field }}
  
  ```
  
  I can see that there's a "HTML Email Template" option in Settings > Email. But I couldn't find any documentation.
  
  **Tags:** templating, plugin-contactform
  
  > **Comments:**
  > **username_1**: Is this post any help? http://craftcms.stackexchange.com/questions/2232/pt-contact-form-plugin-html-email-templates or possibly, although unlikely, this http://craftcms.stackexchange.com/questions/1582/pass-content-of-system-messages-to-html-email-template You could also go the plugin route https://sprout.barrelstrengthdesign.com/craft-plugins/email  
  > **username_0**: No, unfortunately none of them help. Sprout: I wouldn't want to pay $99 just to have an email template ...  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2016-11-21. Score: 0 | Accepted answer
  
  The "HTML Email Template" option in Settings > Email in the Craft control panel is completely unrelated to the Contact Form plugin.
  
  If you want to change the body of the email that gets sent out, you'll need to write a [plugin](http://pluginfactory.io) that listens to the `beforeMessageCompile` event as documented here: <https://github.com/pixelandtonic/ContactForm#the-contactformbeforemessagecompile-event>
  
  > **Comments:**
  > **username_0**: Thank you. I can understand that's the solution but as a front-end dev it's very difficult to understand how that works. I wonder why didn't they just include the {fromName} and {fromEmail} and {subject} as part of the body email by default ...  
  
  ---
  
  