How To Attach PDF File To Invoice Email in Magento 2 Programmatically

How To Attach PDF File To Invoice Email in Magento 2 Programmatically

This extension also supports many payment methods (COD, check/money order, credit card, PayPal, etc.) Magento 2 uses the TransportBuilder class to send emails, but it doesn’t support file attachments.​​​​​​​  <?xml version=”1.0″?> <config xmlns:xsi=”” xsi:noNamespaceSchemaLocation=”urn:magento:framework:ObjectManager”> <preference for=”MagentoFrameworkMailTemplateTransportBuilder” type=”VendorModuleModelMailTransportBuilder” /> </config> The…