I use the email.send. but it does not send the ema...
# suitescript
v
I use the email.send. but it does not send the email. var senderID = runtime.getCurrentUser().id; var recipientsID = 'abc@gmail.com'; email.send({ author : senderID, recipients : recipientsID, body : 'email', subject : 'sending email' });
l
If you’re using this in Sandbox, check Email Preferences on Setup > Company > Email Preferences , it might be disabled:
v
yes it is thank you
n
Also If you navigate to the sender's employee record in NS and look in the communications tab you should see all email there.
this 1
e
And if you search Messages (or view other records the email is attached to) you will see as well. Basically, the record gets created but the sending of the actual email is suppressed based on the above settings.