RE: [PHP] Mass Mail {?!}

From: Date: Mon, 22 Apr 2002 06:52:15 +0000
Subject: RE: [PHP] Mass Mail {?!}
Groups: php.general 
Request: Send a blank email to php-general+get-93942@lists.php.net to get a copy of this message
I'd recommend this script with a few changes. <? $Emails = array(<Get your list of emails into the array somehow>); for($i=0; $i<count($Emails); $i++) { // send email code usleep(<delay in microseconds>); } ?> Matthew Walker Senior Software Engineer ePliant Marketing -----Original Message----- From: CDitty [mailto:mail@redhotsweeps.com] Sent: Sunday, April 21, 2002 8:47 PM To: Liam MacKenzie; PHP Subject: Re: [PHP] Mass Mail {?!} How about something like this..... <? $Total_emails = 100; $i = 1; if($Total_emails != $i){ // send email code $i++; } ?> This should be all you need. I used something similar to crash my work's email system by accident. :) Whoops. CDitty At 12:40 PM 4/22/2002 +1000, Liam MacKenzie wrote: >Hey all, >I was just wondering if someone's written a script that will let me send >lots of emails to an address, but with a small pause inbetween emails. > >And no I'm not using this for spam, I need to test a SMTP server that I'm >developing. > >Thanks for your help! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.345 / Virus Database: 193 - Release Date: 4/9/2002

« previous php.general (#93942) next »