I'm using Symfony Mailer to send HTML emails in my site.

This requires 'module' and 'key' to find my email twig template file.

How do I find or define 'key' for my email handler in my Webform settings?

1 Answer 1


Solved after lots of experimenting.

Select 'Twig template' as the Body type in the email handler.

Name your twig file as 'webform-email-message-html--WEBFORM-ID.html.twig'.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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