This method can be used to send email template. Here we using nlapiLoadRecord() and nlapiCreateTemplateRenderer(). Below mentioned code for SuiteScript 1.0. In Email Template we using id (#firstname) for getting field values. <html><title></title><p id=”firstname”>Dear #firstname #lastname</p> <ul><li><strong>Email:</strong> #email</li><li><strong>Phone Number:</strong> #phone</li><li><strong>Company Name:</strong> #companyname</li><li><strong>Message:</strong> #message</li></ul></html>
Tag: standard method for sending email
NetSuite standard method to send an email on the save of SO.
This is to find the Standard NetSuite methods to send email to the specified user on saving the sales order.