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:[EMAIL PROTECTED]]
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php