In order to fix the following issue temporarily:

Magento 2.3.3 blank email with html attachment

I want to override /vendor/zendframework/zend-mail/src/Headers.php file. I have tried preferences (using di.xml) and composer way (described here), but could not make it working.

Can anyone help me to override the functionality of this class without hampering upgrade possibilities.

Thanks in advance

  • I'm also trying to figure this one out. Not sure how to override a 'src' folder. – Marisa Jan 7 at 19:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.