note 33423 rejected from function.mail by pollita
| From: | pollita@php.net | Date: | Wed, 25 Jun 2003 15:31:50 +0000 |
| Subject: | note 33423 rejected from function.mail by pollita | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-50994@lists.php.net to get a copy of this message | ||
Note Submitter: tobo@nyoc.hu
----
The only thing I couldn't figurate out related to the mail() function is how it is possible (if
it is anyway) no to send the mail real-time, but process it in the background somehow.
I needed to send around 8000 emails to my users at some server and each mail body had to contain
different modifications, specific to the user, so I have put the whole thing into a while loop, and
inside the while() I created the message body then sent the mail.
The only problem was that it started to send the mail one-by-one, so the execution time was very
long, which as I know can be lengthened by set_time_limit() within the while loop, but in the other
way I would have to wait the whole time sitting in front of the browser window waiting for it to be
finished.
If anyone has a clue around this please submit it, I hope the set_time_limit helped some people that
had similar problem, however it is not a final solution...