Open anchovy opened 1 week ago
I'd light Formie to automatically pick up the native Craft email template if set and allow this to be used as a template in the 'Edit Notification' > 'Templates' tab without having it be explicitly set as a email template in the formie settings.
As part of this - update the contentHtml variable to use body in line with the craft email template. https://verbb.io/craft-plugins/formie/docs/template-guides/email-templates#available-template-variables vs https://craftcms.com/docs/5.x/system/mail.html#html-templat
body
I'm currently using the following to allow both craft and formie to use the same email template:
{# body is craft default, contentHtml is formie default. #} {{body ?? contentHtml ?? ''}}
No response
What are you trying to do?
I'd light Formie to automatically pick up the native Craft email template if set and allow this to be used as a template in the 'Edit Notification' > 'Templates' tab without having it be explicitly set as a email template in the formie settings.
What's your proposed solution?
As part of this - update the contentHtml variable to use
body
in line with the craft email template. https://verbb.io/craft-plugins/formie/docs/template-guides/email-templates#available-template-variables vs https://craftcms.com/docs/5.x/system/mail.html#html-templatI'm currently using the following to allow both craft and formie to use the same email template:
Additional context
No response