#21442 [Bgs->Opn]: empty recipient for mail() function crashed Apache
| From: | derick@php.net | Date: | Sun, 05 Jan 2003 22:27:39 +0000 |
| Subject: | #21442 [Bgs->Opn]: empty recipient for mail() function crashed Apache | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-29151@lists.php.net to get a copy of this message | ||
ID: 21442
Updated by: derick@php.net
Reported By: john.wong@q-surf.com
-Status: Bogus
+Status: Open
Bug Type: Reproducible crash
Operating System: Windows NT4 Server
PHP Version: 4.3.0
New Comment:
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).
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2003-01-05 15:52:56] tularis@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2003-01-05 14:57:44] john.wong@q-surf.com
A script like
<?php
mail("", "test", "test");
?>
crashed Apache server (1.3.26).
PHP is installed as a Apache module.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21442&edit=1