I am trying to add the image as an attachment along with the shipping email when a customer is notified like this $this->_shipmentNotifier->notify($orderShipment);

can anyone have any suggestions?

1 Answer 1


You can modify the content of an email via the template

Admin Panel > Marketing > Communications > Email Templates.

Then Add your image in the template content

Sources : https://magefan.com/blog/customize-magento-2-email-templates#:~:text=In%20order%20to%20manage%20the,the%20Add%20New%20Template%20button.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.