Page 1 of 1
Email Issues with mail()
Posted: Tue Jul 18, 2006 3:34 pm
by dirgeshp
I am using the mail() feature in php to mail 1000 users
the problem is after about 10seconds the page freezes or get interrupted...at this point i dont know if all or any of the emails were sent
is there a debug feature in mail() or a "delay" i can put in there to delay between each send?
Posted: Tue Jul 18, 2006 3:54 pm
by Burrito
take a look at d11's swift mailer. You can find it in the code snippets forum.
Posted: Tue Jul 18, 2006 4:00 pm
by RobertGonzalez
You can also get it from my signature or at
http://www.swiftmailer.org/.
Posted: Tue Jul 18, 2006 5:26 pm
by dull1554
see everyone bad talks the mail() function. i honestly dont mind it. it works great it ur on a *nix box, and so longs as u sett all hedders it works well.
a buddy of mine has a virtual pet site with 32k+ users and they all get emailed monthly via a cron that uses the mail() function
Posted: Tue Jul 18, 2006 6:04 pm
by Roja
dull1554 wrote:see everyone bad talks the mail() function. i honestly dont mind it.
Because you don't need authentication (ESMTP) for your mail server.
Because you don't need SSL support to connect to your mail server.
Because.. you get the idea. For your specific setup and environment, perhaps its all you need. But for a large number of users, its lacking even the ability to *send a single mail* from their properly configured mail server.
Posted: Tue Jul 18, 2006 6:11 pm
by Chris Corbyn
dull1554 wrote:see everyone bad talks the mail() function. i honestly dont mind it. it works great it ur on a *nix box, and so longs as u sett all hedders it works well.
a buddy of mine has a virtual pet site with 32k+ users and they all get emailed monthly via a cron that uses the mail() function
I agree, mail() is great, for really really simple stuff. You can't expect everybody to understand what constitutes "all headers" and you certainly wouldn't want to use it to mass mail 1,000 users unless you want to create and close 1,000 connections
