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?
Email Issues with mail()
Moderator: General Moderators
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
You can also get it from my signature or at http://www.swiftmailer.org/.
Because you don't need authentication (ESMTP) for your mail server.dull1554 wrote:see everyone bad talks the mail() function. i honestly dont mind it.
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.
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
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 connectionsdull1554 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