1

I am fresher in Magento 2.3.2, custom email send createAttachment() method is not working how to solved ?

Thanks in advance.

  • Possible duplicate of Magento 2.3 custom email attachment not working – Sumit Aug 19 at 5:43
  • using SMTP ???/ – Rk Rathod Aug 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 at 6:48

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.