Calling mail() in a loop

From: Date: Thu, 13 Nov 2003 16:42:58 +0000
Subject: Calling mail() in a loop
Groups: php.general 
Request: Send a blank email to php-general+get-169519@lists.php.net to get a copy of this message
Hello all, this is my first post and I have found this list very resourceful for me so far. Here is my question: I have built a small system to allow my clients to send out permission emails to their customers from a MySQL db. It is testing fine to a small number of email addresses, but I want to know how it will run if the loop gets upwards of 1000+. I could add my email address to the database 1000 times, but I don't want to receive this many emails (for obvious reasons). Does anyone know first of all how mail() will respond being called this many times, and secondly any other function that I could call that would be a similar test without having to send out emails. Thanks for your time. Cheers, Chris -- Chris Bruce chris@idextrus.com Idextrus http://www.idextrus.com 3282 Wilmar Cres. Mississauga, ON L5L4B2 CA 905.828.9189

« previous php.general (#169519) next »