Add email address

Good day,I have 3 email field. How can i fix this??$email->Recipient = $args[“rsnew”][“email_encoder”];
$email->Recipient = $args[“rsold”][“email_cgo”];
$email->Recipient = $args[“rsold”][“email_pgo”];

You may try:

$email->Recipient = $args["rsnew"]["email_encoder"];
$email->Recipient .= "," . $args["rsold"]["email_cgo"];
$email->Recipient .= "," . $args["rsold"]["email_pgo"];

thank you for the suggestion but unfortunately it still did not send to the other 2 addition emails (email_cgo and email_pgo).any other ways to achieve this?

Are you sure you should use rsold instead of rsnew for email email_cgo and email_pgo?

I have changed it all to rsnew but no still not working

You may then change the comma (,) separator to semi colon (:wink: separator.

thank you