Re: [PHP] Fatal error: Maximum execution time of 30 seconds exceeded

2002-10-14 Thread Maxim Maletsky


Don't try using PHP for sending mass-mails. You'd better use some other
C/Phyton/Perl apps for that. Just manage the start of this process via
PHP.


-- 
Maxim Maletsky
[EMAIL PROTECTED]

www.PHPBeginner.com  // where PHP Begins

On Sun, 13 Oct 2002 19:06:01 +0100
"scott" <[EMAIL PROTECTED]> wrote:

> Hello
> Trying to send a html email to 5000 people on a list
> Keep getting Fatal error: Maximum execution time of 30 seconds exceeded 
> Any pointers on the best way to achieve this lengthily operation without
> the script failing? Best regards Scott
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 



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




Re: [PHP] Fatal error: Maximum execution time of 30 seconds exceeded

2002-10-13 Thread Sascha Cunz

Yet another very fine way to do this job, is to set up a mailinglist manager 
(ezmlm i.e.), whom you subscribe all your recipients - And then send just one 
mail to the mailinglist manager.

Of course, works only if you got control to the server.

--Sascha

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




Re: [PHP] Fatal error: Maximum execution time of 30 seconds exceeded

2002-10-13 Thread Chris Hewitt

scott wrote:

>Hello
>Trying to send a html email to 5000 people on a list
>Keep getting Fatal error: Maximum execution time of 30 seconds exceeded 
>Any pointers on the best way to achieve this lengthily operation without
>the script failing? Best regards Scott
>
If the email is the same for all people on the list (i.e. not 
customised) then use the CC field and don't send 5000 emails. If they 
are customised then I'd recommend you queue them (fast) rather than wait 
whilst they are actually sent (normal). This can be done with sendmail 
and qmail, I assume other MTAs too. If you can't queue the emails then 
perhaps use cron (or at) to send them outside of a web page (you can 
still use PHP as CLI or with Lynx).

If you look through the archives this was discussed a month or so back 
in great detail. One thread was "PHP / Bulk Email" on 4th Sept, another 
"bulk mail()" and "sending 1000 emails to subscri.." both 12th June.

HTH
Chris



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




RE: [PHP] Fatal error: Maximum execution time of 30 seconds exceeded

2002-10-13 Thread Thoenen, Peter Mr. EPS

In you php.ini, find max_execution_time = 360 and up it.

-Peter

> -Original Message-
> From: scott [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, October 13, 2002 20:06
> To: [EMAIL PROTECTED]
> Subject: [PHP] Fatal error: Maximum execution time of 30 seconds
> exceeded 
> 
> 
> Hello
> Trying to send a html email to 5000 people on a list
> Keep getting Fatal error: Maximum execution time of 30 
> seconds exceeded 
> Any pointers on the best way to achieve this lengthily 
> operation without
> the script failing? Best regards Scott
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

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




RE: [PHP] Fatal error: Maximum execution time of 30 seconds exceeded

2002-10-13 Thread John W. Holmes

www.php.net/set_time_limit

---John Holmes...

> -Original Message-
> From: scott [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, October 13, 2002 2:06 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Fatal error: Maximum execution time of 30 seconds
exceeded
> 
> Hello
> Trying to send a html email to 5000 people on a list
> Keep getting Fatal error: Maximum execution time of 30 seconds
exceeded
> Any pointers on the best way to achieve this lengthily operation
without
> the script failing? Best regards Scott
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




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