Hi experts,
I am working on email template and I wants to send multiple email to recipients.
I tried following code but this sending email to first person only and doesn't consider the 2nd and 3rd email id's.
Kindly advise so that I can send email to more then one recipients.
Current code:
class RetailOENInfo_PikupConfirmation extends RetailOENInfo
{
...
....
str customerPickupEmail;
customerPickupEmail = salesOrder.Email + ';' + 'TestEmail@domain.com' + ';' + 'TestEmail2@domain.com'
parameterMap.insert(#CustomerName, salesOrder.SalesName);
parameterMap.insert(#CustomerEmail, customerPickupEmail);
}
I tried to test email from email parameter but when I am putting two email id's, that's throwing following error message: