Re: newsletter optimization help needed

From: Date: Wed, 12 Mar 2003 18:14:05 +0000
Subject: Re: newsletter optimization help needed
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-26304@lists.php.net to get a copy of this message
Hi there. That makes sense :-) One question, my brain is kind of dead today (Some would say always :-) But how would I get $emailadd to display all the addresses in the bcc bit? I know you have to add the addresses, seperate them with a , etc ..... but for the life of me I can't think straight right now :-( Thanks Chris --- while ($row = mysql_fetch_array($sql_result)) { $emailadd = $row["EMail"]; $emailname = $row["emailname"]; $emailphone = $row["emailphone"]; $emailaddress = $row["emailaddress"]; }; > You could change the TO: to something generic like "Email List Subscriber" > then add everyone to the BCC field and then generate 1 email with 9000 > people in the BCC field. Let sendmail do the rest. It should take less > time to send the emails and only a few seconds to generate your page.

« previous php.db (#26304) next »