I have a client wanting to send a newsletter to multiple clients...sometimes up to 500 at a time. I've seen scripts that loop through each customer and call the mail() function for each instance, then calling sleep(3) after x amount of emails have been sent to prevent mail server timeouts. There is also the option to have multiple recipients for each mail() call.
What is the best solution for a newsletter that goes out to, lets say 1000 people at a time? And...what factors determine this? (server timeout settings? php performance? server performance/variables?)
Of course i'm asking this because I dont want to have him send out hundreds of emails and have half of them bounce or fail.
Server is your typical cpanel/linux/apache/php/mysql box.
Thanks for any advice.