skip to Main Content

Magento 2 – Version 2.2 – Override Zend_Mail_Transport_Sendmail

Hallo everyone, since the release of Magento 2.2 the old override Zend_Mail_Transport_Sendmail does not work anymore. before, an rewrite in etc/di.xml and model/Transport.php worked. <preference for="MagentoFrameworkMailTransport" type="MyModulMyPluginModelTransport"/> and namespace MyModulMyPluginModel; class Transport extends Zend_Mail_Transport_Sendmail implements MagentoFrameworkMailTransportInterface { protected $_message; /**…

VIEW QUESTION
Back To Top
Search