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
Luiz Morais
09/26/2023, 8:29 AM
If you’re using this in Sandbox, check Email Preferences on Setup > Company > Email Preferences , it might be disabled:
v
vennila ramasamy
09/26/2023, 8:45 AM
yes it is thank you
n
NElliott
09/26/2023, 8:58 AM
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
ec
09/27/2023, 12:16 AM
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.