Thu Ra Thu Ra - 1 year ago 124
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("\"\", \"\"");

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download