- Issue created by @frankdesign
- 🇭🇺Hungary betarobot
Did you import Commerce Order stuff from Override tab (/admin/config/system/mailer/override)? That worked for me.
That blog post is missing a lot of information needed to set all commerce and Symfony Mailer things together. Picking things up post by post, issue by issue right now.
- 🇺🇦Ukraine vlad.dancer Kyiv
Have you configured and tested default mail transport here: /admin/config/system/mailer/transport ?
- 🇮🇪Ireland frankdesign
@vlad.dancer - thanks and yes I had done that. Test email was working already at /admin/config/system/mailer/test so I knew the system was working. It was only Commerce emails that were not being sent.
Thanks @betarobot - I hadn't tried that as it says 'Warning: Experimental, may change' beside the Enable & Import button. Have imported now and emails are being sent. Do you know what aspect of this needs to be monitored in terms of the experimental bit and the element that may change part. I haven't changed any of the imported settings, I left them at the settings that were imported.
Now that I have Enabled & Imported the Commerce Order settings, there is a load of extra information being sent in the emails, which wasn't there previously and is unnecessary. There is a section with the date, time, message and username of each stage of the order process i.e. Product added to the cart, Order assigned to user x, payment transaction and customer completed checkout. I don't know why this information is now there. It's not mentioned in either of the policies listed at /admin/config/system/mailer. Nor is it included in the Manage Display at /admin/commerce/config/order-types/default/edit/display/email. Any idea how I can remove it?
Thanks
- 🇬🇧United Kingdom adamps
Commerce emails definitely should work without the override - if not then that's a bug however it works for me.
Yes the display configuration is a little tricky with the override, because Commerce has settings in so many different places. I'm not a commerce expert so this isn't necessarily the place to ask about that part. You could look at the order item table formatter 📌 Allow the view in the OrderItemTable formatter to be configured Fixed .
- 🇺🇦Ukraine bohart Lutsk, Ukraine
As we use Drupal Symfony Mailer on our projects, I have tested the topic also (as I need to be sure commerce emails work well). Tested with:
- Drupal Core: 10.1.5
- Drupal Commerce: 8.x-2.36
- Drupal Symfony Mailer: 1.x-dev
Everything works well / as expected. So, I decided to write down this comment here as well.@frankdesign, if the issue still exists, could you please provide the exact step-by-step instructions for reproducing the issue? (from vanilla Drupal core + Drupal Commerce + Drupal Symfony Mailer install)
If it still occurs, this will help to find and fix the source of the issue.
This will significantly help everyone to be sure that commerce emails work correctly! As it's an important part of most commerce-related projects.@AdamPS, as for now, I assume this issue can be marked as "Postponed (maintainer needs more info)" as for now.
Thanks! - 🇺🇦Ukraine bohart Lutsk, Ukraine
As we use Drupal Symfony Mailer on our projects, I have tested the topic also (as I need to be sure commerce emails work well). Tested with:
- Drupal Core: 10.1.5
- Drupal Commerce: 8.x-2.36
- Drupal Symfony Mailer: 1.x-dev
Everything works well / as expected. So, I decided to write down this comment here as well.@frankdesign, if the issue still exists, could you please provide the exact step-by-step instructions for reproducing the issue? (from vanilla Drupal core + Drupal Commerce + Drupal Symfony Mailer install)
If it still occurs, this will help to find and fix the source of the issue.
This will significantly help everyone to be sure that commerce emails work correctly! As it's an important part of most commerce-related projects.@AdamPS, as for now, I assume this issue can be marked as "Postponed (maintainer needs more info)" as for now.
Thanks! - 🇬🇧United Kingdom adamps
@AdamPS, as for now, I assume this issue can be marked as "Postponed (maintainer needs more info)" as for now.
Yes please do that - here and other issues in the same situation
- 🇮🇪Ireland frankdesign
My bad. I discovered that there was a SwiftMailer template file in the theme which was causing a conflict Commerce emails being sent with Symfony Mailer. Once I removed the twig file, Commerce emails are being sent as expected (and without overriding the Commerce emails at /admin/config/system/mailer/override).
Thanks @bohart for confirming that it was working for you.
And thanks @AdamPS for all the great work you've put into this module - much appreciated.
F
- Status changed to Closed: works as designed
about 1 year ago 6:16pm 16 October 2023