Re: Problem with mail function
| From: | ted@php.net | Date: | Mon, 14 Jan 2002 20:44:26 +0000 |
| Subject: | Re: Problem with mail function | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-15804@lists.php.net to get a copy of this message | ||
Hi, Faye. There's a parm in the configuration file (php.ini) cleverly
called "max_execution_time". Its default setting is 30. There's also a
"set_time_limit()" function that allows massaging this variable.
Does this help?
On Mon, 14 Jan 2002, Faye Keesic wrote:
> Don't know anything about ole 30 second timeout... what does it do?
>
> I checked out phpbuilder, and tried the sleep function after each loop
> iteration (didn't seem to work), so now am trying to send out the headlines
> in groups of 50...
>
> Sounds like others have the same problem. mail() is a php weakness???
>
> --
> Faye Keesic
> Computer Programmer Analyst/Web Page Design
>
> >> From: ted@php.net
> >> Date: Mon, 14 Jan 2002 09:51:54 -0800 (PST)
> >> To: Faye Keesic <fkeesic@fortfrances.com>
> >> Cc: php-db@lists.php.net
> >> Subject: Re: [PHP-DB] Problem with mail function
> >>
> >> Is it the ole 30-second timeout thang? Changeable in php.ini?
> >>
> >> On Mon, 14 Jan 2002, Faye Keesic wrote:
> >>
> >>> Hi there...
> >>>
> >>> I have a problem mailing out approx. 180 emails (no attachments) using the
> >>> mail() php function. I loop through the email table once, sending the email
> >>> to everyone in the list.
> >>>
> >>> The problem is that my page seems to time out when I send the emails, and it
> >>> refreshes itself. So if I don't manually stop the browser after say, 10
> >>> seconds, the recipients in the email table get the email more than one time.
> >>>
> >>> Maybe I shouldn't be trying to send that many emails at a time. I am on
> >>> apache using mysql and php...
> >>> --
> >>> Faye Keesic
> >>> Computer Programmer Analyst/Web Page Design
> >>>
> >>>
> >>> --
> >>> PHP Database Mailing List (http://www.php.net/)
> >>> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> >>> For additional commands, e-mail: php-db-help@lists.php.net
> >>> To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >>>
> >>>
> >
> >
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>