PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have a script that sends out newsletters using the PHPMail class and MySQL. My host only allows me to send out 100 emails per hour...
How would I make the script so that if it has sent 100 messages within the first hour, it waits till the hour is over and then continues for another hour sending out anoi\ther 100 messages. When 100 messages are again sent within the hour it waits until the next hour to continue and so on...