Hi,
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
https://www.yiiframework.com/extension/zyx-phpmailer
I have seen, that phpmailer returns error info when mail sending is failed.
https://github.com/PHPMailer/PHPMailer
Have anybody experience with yii2 and phpmailer?
evstevemd
(Stefano Mtangoo)
2
which extension are you using?
I mean a link to it?
jeff
(jeff)
4
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.