Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
nlapiSendEmail conditional email body
Hello,
I have a couple questions regarding scripting and email. I am using the nlapiSendEmail function to send as attachment the pdfs we are printing
1 - How can I use an email template using this funcion? I have tried the internal id of the template as body argument but had no sucess
2 - If 1. is not possible, can i insert conditional email bodys using if statements? I could not find a syntax that would work.
Any help would be very helful.
I can share the code I am writing if it is required or you feel curious.
Cheers!
0