I want to send the Customized PDF Template in the body of email
For my Sales Order, I have created a Custom Advanced HTML/PDF Template. I want to send this template in the body of my email (not as attachment) on afterSubmit Script. How should I do it.
Hi,
You will probably want to use the N/email and N/render modules.
N/render allows you to render a transaction as HTML and then you should be able to add this on to the body of the email created with N/email.
Please let me know if you need any further details.
Thanks,
Chris