PHPmailer.. best way to send to many recipients?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everyone,

I just started using PHPmailer for one project that requires SMTP authentication (if I said that right).. and all is well.. but I want to ask now before it might get outta hand later:

How many comma-delim'ed addresses can I stuff in $BCC_recipients before I have problems (need to restructure the design)?

------------------------------------------------------
require("php_inc/class.phpmailer.php");
$mail = new PHPMailer();
$BCC_recipients = "xxxx@xxxxxxxx,yyyy@xxxxxxxxxx"; // <---just an example
$arrBCC_recipients = explode(",", $BCC_recipients);
foreach ($arrBCC_recipients as $email2stuffInBCC) {
	$mail->AddBcc($email2stuffInBCC);
}
if(!$mail->Send()) { // problem ....
------------------------------------------------------


For now there will be less than 100 Bcc recipients.. but later, more. I don't know if/when it will ever grow past 1,000.

------------
Govinda






--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux