Twig naming convention for Webform emails

Created on 14 April 2023, over 1 year ago
Updated 28 April 2023, over 1 year ago

I have a form created by Webform module.
Form system name: my_form
Email handler system name: my_handler

With Swift Mailer, the resulting Twig template for the email has the following name:
swiftmailer--webform--my-form-my-handler.html.twig

How can I rename this template to make it work with the Symfony Mailer module?
I've tested lots of names:

email--my-form-my-handler.html.twig
email--webform--my-form-my-handler.html.twig
my-form-my-handler-email.html.twig
webform--my-form-my-handler-email.html.twig

and a few more, but with no luck.

Many thanks!

💬 Support request
Status

Closed: works as designed

Version

1.2

Component

Documentation

Created by

🇨🇭Switzerland michèle

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024