hi, how to add a bcc email address in phpmailer yii extension based from this document
http://www.yiiframework.com/extension/phpmailer/#hh4
I can’t find any example at all
hi, how to add a bcc email address in phpmailer yii extension based from this document
http://www.yiiframework.com/extension/phpmailer/#hh4
I can’t find any example at all
[color="#006400"]/* Moved from General Discussion … */[/color]
Well, did you try the PHPMailer site?
And/or The Great Google?
$mail->AddBCC('email@sample.com'); // if you want one email
foreach($emails as $email) {
$mail->AddBCC($email); // if you want more than one email
}
I did not test the code
thanks…this is correct
$mailer->AddBCC("email");
i searched the real php mailer website documentation…
the yii extension documentation lacks some details