#22344 [Fbk->NoF]: mail() times out, then sends the mail successfully
| From: | sniper@php.net | Date: | Mon, 10 Mar 2003 00:57:23 +0000 |
| Subject: | #22344 [Fbk->NoF]: mail() times out, then sends the mail successfully | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-35184@lists.php.net to get a copy of this message | ||
ID: 22344
Updated by: sniper@php.net
Reported By: mellis at ellisandgrant dot com
-Status: Feedback
+Status: No Feedback
Bug Type: Mail related
Operating System: Windows 2000 Pro
PHP Version: 4.3.1
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2003-02-23 04:40:17] sniper@php.net
Does adding set_time_limit(60); help?
------------------------------------------------------------------------
[2003-02-20 19:16:23] mellis at ellisandgrant dot com
Humble apologies if this turns out to be a configuration error, but I
can't find any reference using the bug search page or a general search
with Google.
Script to reproduce problem:
<?php mail('mellis@frogwing.com', 'Times out', 'But does get
sent!');
?>
Fatal error: Maximum execution time of 30 seconds exceeded in
c:\program files\apache group\apache\htdocs\mailtest.php on line 1
Environment:
php 4.3.1 Win32 binaries running as apache module
SMTP smtp.ellisandgrant.com
SERVER_SIGNATURE <ADDRESS>Apache/1.3.27 Server at localhost Port
80</ADDRESS>
SERVER_SOFTWARE Apache/1.3.27 (Win32) PHP/4.3.1
Notes:
1. The SMTP box is a linux box on my LAN. Very unbusy with a fast cable
modem connection to the outside world, ie connecting and DNS cannot
possibly be taking more than 1 or 2 seconds.
2. All other php functions and behaviors seem fine.
3. Watching the clock and looking at the timestamp on the email, it
seems as though it is being sent just AFTER the script times out.
4. mail() worked fine when I ran php as cgi.
Thanks,
Mike Ellis
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22344&edit=1