i want to get the errors when send a message via symfonymailer is failed.
My problem is f.e. that i send a test mail to an not existing domain. But symfony returns true. Is there any way I can intercept this?
Can i do this with the logger? And how i get more informations about the logger?
Another idea is to use
I have seen, that phpmailer returns error info when mail sending is failed.
Have anybody experience with yii2 and phpmailer?
which extension are you using?
I mean a link to it?
I believe there is an issue with the current version:
You can either try extending the class with a corrected sendMessage method (you’ll have to copy some of the private properties to make it work.)
Or you can use the Pull Request which will be version 3.0.