Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Full format example for nlapiSendEmail
Can someone show me the proper format for nlapiSendEmail for the cc and bcc parameters?
I've tried passing a string of comma separate email addresses, an array of email addresses, and just get errors. When I pass null, it works.
Is the cc a bug or am I just not entering correctly?
// test 1 var addrs = "me@my.com, you@you.com"; // real addresses were used nlapiSendEmail(23,"to@to.com","hello-test","this is a test",addrs); // test 1 errors: Unexpected javascript Error // test 2 var addrs = new Array("me@my.com","you@you.com"); nlapiSendEmail(23,"to@to.com","hello-test","this is a test",addrs); // test 2 errors: Unexpected javascript Error // test 3 nlapiSendEmail(23,"
0