getmeli / meli

Platform for deploying static sites and frontend applications easily. Automatic SSL, deploy previews, reverse proxy, and more.
Other
2.41k stars 97 forks source link

Configurable form submission email templates in the UI #232

Open tanc opened 3 years ago

tanc commented 3 years ago

This feature request is an extension to #229 and would allow for per site/branch configuration of the form submission email template. This could take the shape of a single textarea which overrides the default (or customised) email template found in ./emails/templates/form-submission.hbs. Maybe behind a checkbox with a label: "Custom email template" or similar.

There would need to be a section in the docs on this, explaining or giving an example of how to display specific form fields. For example matching a form field named message with the template by printing {{formData.message}} (if that is how it works, I haven't tested).

This way a user could customise their form submission template from the UI and get a more tailored experience.

tanc commented 3 years ago

Also a field for the subject line makes sense I think.