Thu Ra Thu Ra - 1 month ago 8x
PHP Question

yii mailer extension: how to send multiple email addresses at once

Q : How can I send multiple addresses at once?

status : I am using the mailer extension. It is working when I send to single address. But when I send to multiple addresses. It isn't working.

This one is working.


followings are not working.

$mailer->AddAddress("'', ''");
$mailer->AddAddress("\"\", \"\"");


You just have to call the "addAddress" function multiple times: