Question

Am new to netsuite development. I have created a suitescript of scheduled script type. In that i use the following code

nlapiSendEmail(473882, 'yoursfred@yahoo.in','Test','Test', null, null, null);

The above code is sending email at the time of debuggin using Netsuite Script Debugger. When we create scheduled record and deployed the same code and scheduled for testing it is not sending the code and not even shows any errors. Can anyone help in this

Was it helpful?

Solution

Also are you testing this in your sandbox account? Sandbox accounts have limitations in sending out emails.

OTHER TIPS

Check the permissions of schedule script. Make sure the script is running as Administrator role.

Alternatively run the script from the same user as the from parameter of the function. 473882 in your case.

In my case the "problem" was that I was just working in the Sandbox, as I prepared a snippet to test email sending in production everything went right.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top