I have a contact form that works using Postmark and Contact Form 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.

Message from: {{ name.field }}

Full name:
{{ name.field }}

{{ email.field }}

{{ department.field }}

{{ message.field }}

I can see that there's a "HTML Email Template" option in Settings > Email. But I couldn't find any documentation.


1 Answer 1


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 that listens to the beforeMessageCompile event as documented here: https://github.com/pixelandtonic/ContactForm#the-contactformbeforemessagecompile-event

  • 1
    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 ...
    – DorinV
    Nov 24, 2016 at 13:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.