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
Cannot send Email
im trying to send email through scheduled script using 2.0 but no email is being send, there is no error message or any indication of email being bounced back.
/** * @NApiVersion 2.x * @NScriptType ScheduledScript * @NModuleScope SameAccount */ define([''N/email', 'N/file', 'N/record'], /** * @param {email} email * @param {file} file * @param {record} record */ function( email, file, record ) { /** * Definition of the Scheduled script trigger point. * * @param {Object} scriptContext * @param {string} scriptContext.type - The context in which the script is executed. It is one of the values from the scriptContext.InvocationType enum. * @Since 2015.2 */ function execute(scriptContext) { var userId = /* Employee ID */; var toEmail = ["sample@test.com
0