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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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