View Full Version : php break or pause?

04-28-2005, 05:14 AM
hey everyone,

I have a vert small mailing list of about 65 people. My server only allows 50 emails per minute. I was thinking to use the mySQL limit function pull only about 40 emails, and send the message to them, then after a minute pull the rest (15) and send emails to them. So is there a way to pause after i send the email to the first 40 so that the program will wait one minute before continuing to pull the rest of the emails?

Thanks a lot for your help

04-28-2005, 07:01 AM
Sleep() (http://us3.php.net/manual/en/function.sleep.php) ?