Re: Calling mail() in a loop
| From: | Manuel Lemos | Date: | Thu, 13 Nov 2003 23:34:38 +0000 |
| Subject: | Re: Calling mail() in a loop | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-169608@lists.php.net to get a copy of this message | ||
Hello,
On 11/13/2003 02:42 PM, Chris Bruce wrote:
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.It depends on your what OS are you using and what local mailer (sendmail/qmail/postfix/etc.. ) you use in case it is under Linux/Unix. -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/