Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
-
Hello, I am using Symfony Mailer with two configured transports:
After reading theSymfony Mailer documentation, I could not find a way tolog which transport was actually used for sending each email when using custom X-Transport header. I have enabled a dedicated Monolog channel for mailer logs:
But this only logs basic email info, not the actual transport name or DSN that was used to send the message. How can I reliably log the transport used for each email (including the transport alias or DSN) using Monolog or an event subscriber? Thank you for your help! |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 0 comments
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment