- Issue created by @betarobot
- 🇬🇧United Kingdom adamps
You can configure the theme to use here: https://www.drupal.org/docs/contributed-modules/drupal-symfony-mailer/ge... →
If you enable the override for Commerce (see https://www.drupal.org/docs/contributed-modules/drupal-symfony-mailer/ge... → ) then it works like this:
The template for this module is documented at https://www.drupal.org/docs/contributed-modules/drupal-symfony-mailer/ge... → . It would be something like email--commerce-order-type.html.twig
I would suggest use either Mailer Policy for body or a template - not both. Whatever you put in a template you can put in mailer policy. Probably you can use both, but it's just going to be confusing.
If you don't enable the override then you will use the Commerce templates.
- 🇭🇺Hungary betarobot
Somehow none of this worked for me. And putting template in policy gets it out of Commerce context, that way fields are empty.
Similar issue: https://www.drupal.org/project/commerce/issues/3280004 →
I see Commerce guys are planning to have more built in support for Drupal Symfony Mailer. Probably will wait for that. So far managed to get things working with Mail System/MimeMail/PHPMailer SMTP.
Thanks for your work anyway!
- Status changed to Fixed
about 1 year ago 12:33pm 14 October 2023 Automatically closed - issue fixed for 2 weeks with no activity.