문제

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

도움이 되었습니까?

해결책

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

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top