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.

Rookie Asked on August 31, 2023 in SuiteScript.
Add Comment
1 Answer(s)

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

Intermediate Answered on September 5, 2023.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Become a Sponsor   Become a Sponsor