Re: Sending Broadcast Email - will a large loop cause a crash?

From: Date: Thu, 06 Sep 2001 23:34:39 +0000
Subject: Re: Sending Broadcast Email - will a large loop cause a crash?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-66291@lists.php.net to get a copy of this message
From: "Miles Thompson" <milesthompson@ns.sympatico.ca> > > Well, try it - find a willing victim and just do a simple loop. > > Alternately, set up an account with a local, high-bandwidth ISP, batch in > groups of 330-, and use BCC. > > Miles > > At 04:16 PM 9/6/01 -0700, Fotwun wrote: > >Hi, > > > >I need to send a broadcast email to our customers (about 3,000 emails). The > >data is being drawn for the DB, and will be personalized. Obviously, the > >code to do this is only a few lines. However, I am concerned with the load > >it will put on the system trying to loop through and mail() 3,000+ times. Or load and install qmail. Set the number of outgoing queues to a reasoable number (maybe 50 or so) and let loose. You'll never have more than "queue" connections simultaneously. Keeps the load reasonable. Mark C.

« previous php.general (#66291) next »