[thelist] Re: PHP mail to many recipients
patrick
pms at stoutstreet.com
Mon Dec 13 08:26:51 CST 2004
Timothy Joko-Veltman wrote:
> Bird, Graham wrote:
>
>> Hi,
>>
>> Seamus - thanks for the tip, but I'm worried that there will be a
>> performance hit. How many mails have you sent using a loop?
>>
>
> I just put all the addresses into a comma-separated list (with a loop
> or implode() ), then put this in the Bcc header, using an "archive" or
> administrative address for the main recipient (and Reply-To). Using Bcc
> means no one will see anyone else's address ... and I can send the
> message with one call to mail() ... I've found this to be much simpler,
> and it probably saves a few CPU cycles, to boot.
>
> Timothy
This won't scale well, I don't think. You could easily be SPAM blocked
for this.
patrick sanders
http://www.stoutstreet.com
web sites that fit
More information about the thelist
mailing list