SV: SV: [PHP] Sending alots of mail

2001-08-16 Thread Jimmy Bäckström
M Subject: Re: SV: [PHP] Sending alots of mail > > Doesn't that make your script take A REALLY LONG TIME to run? > If you do sleep(1) after each call to mail() and send out 1000 e-mails > that would be a little over 16 and a half minutes of sleep. > > At 5000 you are

Re: SV: [PHP] Sending alots of mail

2001-08-16 Thread Sheridan Saint-Michel
el Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Daniel Adams <[EMAIL PROTECTED]> To: PHP List <[EMAIL PROTECTED]> Cc: php <[EMAIL PROTECTED]> Sent: Thursday, August 16, 2001 12:31 PM Subject: Re: SV: [PHP] Sending alots of mail > Actu

Re: SV: [PHP] Sending alots of mail

2001-08-16 Thread Dennis Moore
control. Then write your scripts to integrate the two. /dkm - Original Message - From: "Daniel Adams" <[EMAIL PROTECTED]> To: "Jimmy Bäckström" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, August 16, 2001 1:30 PM Subject: Re: SV: [PHP] Sen

RE: [PHP] Sending alots of mail

2001-08-16 Thread Tyrone Mills
aniel Adams Cc: [EMAIL PROTECTED] Subject: SV: [PHP] Sending alots of mail Hmm that's what I thought about. But I think the system I'll be using uses qmail. I've heard that qmail does things better than sendmail? /Jimmy - Original Message - From: Daniel Adams <[EMAI

Re: SV: [PHP] Sending alots of mail

2001-08-16 Thread Daniel Adams
iginal Message - > From: "Tim" <[EMAIL PROTECTED]> > To: "Jimmy Bäckström" <[EMAIL PROTECTED]> > Cc: "Tyler Longren" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Thursday, August 16, 2001 9:39 AM > Subject: Re: SV: [PHP] Send

Re: SV: [PHP] Sending alots of mail

2001-08-16 Thread Daniel Adams
stem I'll be using uses qmail. >I've heard that qmail does things better than sendmail? > > /Jimmy > - Original Message - > From: Daniel Adams <[EMAIL PROTECTED]> > To: Jimmy Bäckström <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Se

SV: [PHP] Sending alots of mail

2001-08-16 Thread Jimmy Bäckström
Can't you queue mails somehow? So that all mails isn't sent at the same time? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: SV: [PHP] Sending alots of mail

2001-08-16 Thread Tom Hodder
sendmail processes when there are less than certain number of sendmails runnning to balance the load. -Original Message- From: Tim [mailto:[EMAIL PROTECTED]] Sent: 16 August 2001 17:39 To: Jimmy Bäckström Cc: Tyler Longren; [EMAIL PROTECTED] Subject: Re: SV: [PHP] Sending alots of mail I

Re: SV: [PHP] Sending alots of mail

2001-08-16 Thread PHP List
all out. No one else had this problem? - Original Message - From: "Tim" <[EMAIL PROTECTED]> To: "Jimmy Bäckström" <[EMAIL PROTECTED]> Cc: "Tyler Longren" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, August 16, 2001 9:39 AM S

SV: [PHP] Sending alots of mail

2001-08-16 Thread Jimmy Bäckström
AIL PROTECTED]> Sent: Thursday, August 16, 2001 6:21 PM Subject: Re: [PHP] Sending alots of mail I did something like that once. Mine sent only about a few hundred at a time and it was still quite a strain on the system because you have a TON of sendmail processes started and running at th

Re: SV: [PHP] Sending alots of mail

2001-08-16 Thread Tim
y, August 16, 2001 6:25 PM > Subject: Re: [PHP] Sending alots of mail > > > > This was just discussed last week. Here's how: > > $connection = mysql_connect("host","user","pass"); > > $db = mysql_select_db("db_name"

Re: SV: [PHP] Sending alots of mail

2001-08-16 Thread Tyler Longren
: <[EMAIL PROTECTED]> > Sent: Thursday, August 16, 2001 6:25 PM > Subject: Re: [PHP] Sending alots of mail > > > > This was just discussed last week. Here's how: > > $connection = mysql_connect("host","user","pass"); > > $

SV: [PHP] Sending alots of mail

2001-08-16 Thread Jimmy Bäckström
25 PM Subject: Re: [PHP] Sending alots of mail > This was just discussed last week. Here's how: > $connection = mysql_connect("host","user","pass"); > $db = mysql_select_db("db_name", $connection); > $sql = mysql_query("SELECT * FROM

Re: [PHP] Sending alots of mail

2001-08-16 Thread Jome
MAIL PROTECTED]> Sent: Thursday, August 16, 2001 6:29 PM Subject: [PHP] Sending alots of mail Hi list! I'm about to write an application that takes about 5000 mailadresses from a database, and then sends a mail to each one of them. I haven't done this kind of apps before, so I

Re: [PHP] Sending alots of mail

2001-08-16 Thread Daniel Adams
I did something like that once. Mine sent only about a few hundred at a time and it was still quite a strain on the system because you have a TON of sendmail processes started and running at the same time. Just be aware of the possible system load. - dan On Thu, 16 Aug 2001, Jimmy Bäckst

Re: [PHP] Sending alots of mail

2001-08-16 Thread Tyler Longren
This was just discussed last week. Here's how: $connection = mysql_connect("host","user","pass"); $db = mysql_select_db("db_name", $connection); $sql = mysql_query("SELECT * FROM table_name ORDER BY email ASC"); while ($row = mysql_fetch_array($sql)) { $email = $row["email"]; $nam

[PHP] Sending alots of mail

2001-08-16 Thread Jimmy Bäckström
Hi list! I'm about to write an application that takes about 5000 mailadresses from a database, and then sends a mail to each one of them. I haven't done this kind of apps before, so I don't know if it's a good idea. Does anyone have any suggestions? /Jimmy