Re: How to implement mass emailing?

From: Date: Thu, 07 Oct 2004 05:58:59 +0000
Subject: Re: How to implement mass emailing?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-198795@lists.php.net to get a copy of this message
--- "Tumurbaatar S." <tumurbaatar@datacom.mn> 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. If you want to send the message as email mail() is the only option. > > 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. you can set max time by set_time_limit(), for disable time limit just use set_time_limit(0). BTW register_shutdown_function() can be helpfull in handling performance related doubts. zareef ahmed > Any ideas? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > ===== Zareef Ahmed :: A PHP Developer in Delhi ( India ). Homepage :: http://www.zasaifi.com/zareef_ahmed.php _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com

« previous php.general (#198795) next »