SimpleForm has had the ability to configure how your email notifications look for a long time now.
However, it hasn’t bee properly documented. This blog post tries to remedy that :)
All your forms have a settings page which can be accessed by using the following url:
https://getsimpleform.com/forms/<api-token>/edit (The api token is different from the form_api_token, I know I should have named it better :) )
This page allows you to set up the following:
akismet keyto use akismet for spam prevention.
reply toto change the reply to in your email notifications.
subject templateto change the subject of the emails that you receive on a form submission.
body templateto change the body of the email you receive on form submission.
The subject template and the body template support a special syntax called liquid markup.
This allows you to create your email notifications in all sorts of shapes based on whatever logic you can think of.
SimpleForm provides variables named the same as the names of your input fields in this markup.
If we have a form which looks like below
<form ... >
We can configure our body template to look like:
Hello Mr. K,
This of course is a simple look, you have freedom to use any valid html body here.
Mailgun for instance has created free email templates which can be used to style your forms: https://github.com/mailgun/transactional-email-templates
Here is a bonus template from a friend of SimpleForm @marcogargo:
<table bgcolor="#eeeeee" cellpadding="10" cellspacing="0" border="0" width="100%" align="center" style="max-width: 500px; font-family: arial; font-size: 13px; color: #555555;">
Checkout this codepen for a full view of the template: https://codepen.io/marcogargano/full/KRWgvY/
Hope you find this useful!