Or just:
While(True) { // send email sleep(1); if($tired==True) Break; } Count how many mails you want and quit :-) Sincerely, Maxim Maletsky Founder, Chief Developer www.PHPBeginner.com // where PHP Begins -----Original Message----- From: CDitty [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 4:47 AM 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php