yireo/Yireo_EmailTester2

Preview Email not working

MLisiecki opened this issue · 5 comments

I got this error:

main.CRITICAL: Error: Call to undefined method Magento\Framework\Mail\Template\TransportBuilder\Interceptor::getMessage() in vendor/yireo/magento2-emailtester2/Model/Mailer.php:229

Sending mail still working :)

Thanks. Which version of Magento are you using and which version of this EmailTester?

Oh, sorry, latest version of EmailTester (installed via composer) and Magento wer. 2.4.3-p2. I have checked - in TransportBuilder.php there is no any getMessage() function.

Yes, but there is a DI type defined in the di.xml file of the EmailTester which replaces the transport builder. Are you 100% sure you refreshed all caches and rebuilt the DI classes? It seems as if you have only installed the composer package and skipped a few steps afterwards.

Yes, I have check it and You have right. It strange, because I did all necessary steps. Anyway, it seems it must be a problem at my side. Thank You for Your time! :)

Thanks, good to hear.