RE: [PHP] Mailing List Programme
| From: | Jay Blanchard | Date: | Thu, 11 Sep 2003 13:25:53 +0000 |
| Subject: | RE: [PHP] Mailing List Programme | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-162281@lists.php.net to get a copy of this message | ||
[snip]
I have created an application to read email addresses from a list and to
send emails. The problem now I am facing is, if the list is very long
then
I am getting an error message in the browser "Server Timed Out". How can
I
display a confirmation message and continue sending the emails from the
server? That is, trigger a separate script (not related to browser) on
the
server which handles the emails and then return a success message. Can
anybody help me to find out a logic or script on this.
[/snip]
At the top of your mail script insert the following line
set_time_limit(0);
from the command line
php myMailScript.php