Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
nlapiSendEmail and CC Array
Hi All,
Please bear with me as I try to explain this, thanks.
ok, I have a record which holds 5 email addresses in 5 separate fields.
Email Field 1
Email Field 2
Email Field 3
Email Field 4
Email Field 5
I want to use these email addresses in a script which will add them to a CC array to use with nlapiSendEmail, this works fine.
However on some of the records not all the email address fields will be populated (i.e 1 & 2 have email, 3,4,5 do not) and this is where I get a problem as I receive an error saying the cc[3] has no valid email address.