image

Web Design & Development Article

Adding attachment in order invoice email

Published:

In order to add email attachment : first of all create TransportBuilder class in location Mail/Template/TransportBuilder.php Now, create the SenderBuilder class to add attachment files which is extend to core class MagentoSalesModel OrderEmail SenderBuilder . You can add image/pdf/docx/calender etc. files with email. Add the SenderBuilder file to Model/Sales/Order/Email/SenderBuilder.php location. Finally, add the following code [...]

Read This Article

A quote within 24 hours

Contact Us