Hello,

On 10/07/2004 02:45 AM, Tumurbaatar S. wrote:
The scenario is:

1. Site administrator logs into his admin page and writes
some message on a form.
2. After clicking submit the web script should broadcast
this message to several hundred subscribers.

And I'm wonder how to implement this on PHP.
Sending an email to each subscribers can take
a much time and PHP will stop after max_execution_time.
Any ideas?

You need to call set_time_limit(0); to let the script run for as long as needed.


As for minimizing the delivery time of messages to many recipients, you may want to try this class that provides several means to optimize bulk mailing campaigns.

http://www.phpclasses.org/mimemessage


--

Regards,
Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/

Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to