Email will go to customer if I have given internal id as recipient?
I have created scheduled script to send email to customer. If I set customer’s internal id, will email go to that customer? In below code sample i_customer_name is customer’s internal id. Please help!
email.send({
author: s_sender,
recipients:parseInt(i_customer_name),
subject: s_subject,
cc : arr_email_cc,
body: s_meesage_body,
attachments: arr_Attachments
});
Off top of my head and from my understanding, if referencing the internal ID of the customers then it shouldn’t be an issue as that is the Unique Identifier. Have you tried & tested in a sandbox/uat environment?
If not an alternative could be a workflow with a custom saved search depending on your case.