11-27-2007, 02:38 AM
|
#18 (permalink)
|
|
La Vida es Sueño
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
|
Quote:
Originally Posted by EyeDentify
For very large e-mail sendning quantitys you should use a email class like php mailer. http://phpmailer.codeworxtech.com/
Because as i understand the mail() function opens a connection and closes it on every call. That might be of server load concern later on.
But i guess a few hundred emails is going the be allright but one would have to see. Optionally you could work in a cue system of some sort to keep the load down, maybe a delay between loops or something. Otherwise a email class would be good.
|
I didn't realise that the mail function behaved in that way, but I have noticed its performance to be rather inadequate for large batches of emails, as you say.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
|
|
|