custom email send createAttachment() method is not working how to solve?
-
Possible duplicate of Magento 2.3 custom email attachment not working – Sumit Aug 19 '19 at 5:43
-
using SMTP ???/ – Rk Rathod Aug 19 '19 at 5:50
-
Use this method in TransportBuilder class public function addAttachment( $pdfString, $enable ) { if ($enable) { $obj = new Zend_Mail; $obj->createAttachment($pdfString, 'application/pdf', \Zend_Mime::DISPOSITION_ATTACHMENT, \Zend_Mime::ENCODING_BASE64, 'Estimate_Quote.pdf') ; } return $this; } – pankaj parmar Aug 20 '19 at 6:48