Re: Calling mail() in a loop

From: Manuel Lemos (mlemos_at_acm.org)
Date: 11/14/03


To: php-general@lists.php.net
Date: Thu, 13 Nov 2003 21:34:38 -0200

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/


Relevant Pages

  • Various Problems with OE that may be one basic problem?
    ... This is my first post, and I am mentioning several different things ... Inbox pane changes on it's own to have frames and a scrollbar to ... Doesn't send emails to newsgroups. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Calling mail() in a loop
    ... this is my first post and I have found this list very ... I have built a small system to allow my clients to send out permission ... emails to their customers from a MySQL db. ... Chris Bruce ...
    (php.general)
  • Re: query too Complex
    ... I can stuff it with random data. ... inserting complete emails, binary chars if any? ... What I wrote in my first post. ...
    (microsoft.public.fox.programmer.exchange)
  • can user-sent emails be "secretly" forwarded to me as administrator?
    ... hi, this is my first post here, but was wondering if it is possible to ... have all the emails from one user on my computer sent to me without ... i have seen how i could forward all incoming mail to ... the "sent" folder. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • can user-sent emails be "secretly" forwarded to me as administrator?
    ... hi, this is my first post here, but was wondering if it is possible to ... have all the emails from one user on my computer sent to me without ... i have seen how i could forward all incoming mail to ... the "sent" folder. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)