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
                                     });
Beginner Asked on March 15, 2023 in SuiteScript.
Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Limebox   Become a Sponsor   Become a Sponsor