Re: [PHP] mail() usage in for loops

2003-08-14 Thread John W. Holmes
Mohanaraj wrote: What would be the best way to handle this ? Go get a program that's made to send out emails like this. Odds are it'll be faster and less of a strain on your server. PHP is great, but there are other solutions out there. My $0.02, of course. :) -- ---John Holmes... Amazon

Re: [PHP] mail() usage in for loops

2003-08-14 Thread Joel Rees
When you say batches of 500 , would that mean you put pauses between each batch ? Or do you prepare each email as a file and then send them out in batches of 500? Whats the time space between each batch? Assuming I was stuck with sendmail, what would you recommend ? Well, I don't know

[PHP] mail() usage in for loops

2003-08-14 Thread Mohanaraj
Dear all, I have read that using mail() in a for loop to send a lot of emails ( around 1k-10k ) emails is not advised due to the fact that it can be resource intensive hence or the script might take so much time that it ti,es out. However what if i append all the emails into the Bcc: header as

Re: [PHP] mail() usage in for loops

2003-08-14 Thread Curt Zirzow
* Thus wrote Mohanaraj ([EMAIL PROTECTED]): Dear all, I have read that using mail() in a for loop to send a lot of emails ( around 1k-10k ) emails is not advised due to the fact that it can be resource intensive hence or the script might take so much time that it ti,es out. However what if

Re: [PHP] mail() usage in for loops

2003-08-14 Thread Mohanaraj
Michael Geier wrote: 1. many providers will not accept email messages with horrendous amounts of BCC: entries (very spam indicative) Say we limit the BCC list to a hundred email addresesses. And use cron jobs to send the emails out every hour -- would that be ok? What would you consider

Re: [PHP] mail() usage in for loops

2003-08-14 Thread Michael Geier
1. many providers will not accept email messages with horrendous amounts of BCC: entries (very spam indicative) 2. do not use mail() to do this 3. there are many excellent PHP mail classes (PHPClasses has a few and PHPMailer is an excellent alternative as well) 4. IM(H)O, if you are going to

Re: [PHP] mail() usage in for loops

2003-08-14 Thread Dasmeet
Hi! Mohanaraj, If you have still not decided about what you are going to use, you can check the several mailing list managers at http://www.hotscripts.com/PHP/Scripts_and_Programs/Mailing_List_Managers/index.html (this will help you get more confused ;) ). Also there seems to be a good script..

Re: [PHP] mail() usage in for loops

2003-08-11 Thread Mohanaraj
Michael Geier wrote: See answer above. With Qmail and homegrown software, I have several servers sending upwards of 13K emails per minute. All of these are HTML emails with: Custom headers, Custom unsubscribes. I create my email list and break it into files of 500, then loop through those

Re: [PHP] mail() usage in for loops

2003-08-10 Thread Curt Zirzow
* Thus wrote John W. Holmes ([EMAIL PROTECTED]): Mohanaraj wrote: What would be the best way to handle this ? Go get a program that's made to send out emails like this. Odds are it'll be faster and less of a strain on your server. PHP is great, but there are other solutions out there.