#21442 [Csd->Ver]: empty recipient for mail() function crashed Apache
| From: | edink@php.net | Date: | Tue, 07 Jan 2003 10:51:19 +0000 |
| Subject: | #21442 [Csd->Ver]: empty recipient for mail() function crashed Apache | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-29293@lists.php.net to get a copy of this message | ||
ID: 21442
Updated by: edink@php.net
Reported By: john.wong@q-surf.com
-Status: Closed
+Status: Verified
Bug Type: Reproducible crash
Operating System: Windows NT4 Server
PHP Version: 4.3.0
New Comment:
Strike that. Can still reproduce it.
Previous Comments:
------------------------------------------------------------------------
[2003-01-07 04:11:10] edink@php.net
I could reproduce this in 4.3.0 but it seems fixed after the release.
Please try http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2003-01-05 16:31:27] john.wong@q-surf.com
I am using Windows version of PHP and how can sendmail involved! I read
from the doc. that PHP forward the mail to a SMTP server for Win
version of PHP.
------------------------------------------------------------------------
[2003-01-05 16:27:39] derick@php.net
sendmail on windows? Let's keep it open until we have somebody who can
reproduce this on windows, I just tried with the CLI and couldn't get
it to crash (latest CVS), so you might want to try a snapshot from
snaps.php.net (go for a development snapshot).
------------------------------------------------------------------------
[2003-01-05 16:24:55] tularis@php.net
it is sendmail that should handle this, not php...
------------------------------------------------------------------------
[2003-01-05 16:11:30] john.wong@q-surf.com
I can certainly send email if a valid email address is specified. The
problem is that passing an empty string as the first parameter of
mail() in Windows version of PHP 4.3.0 and Apache crashed (Dr. Watson
popped up and said address violation) is not normal. I expect some
error messages are sent to the browser instead of crashing Apache.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/21442
--
Edit this bug report at http://bugs.php.net/?id=21442&edit=1