#21442 [Bgs]: empty recipient for mail() function crashed Apache

From: Date: Sun, 05 Jan 2003 22:24:55 +0000
Subject: #21442 [Bgs]: empty recipient for mail() function crashed Apache
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-29149@lists.php.net to get a copy of this message
ID: 21442 Updated by: tularis@php.net Reported By: john.wong@q-surf.com Status: Bogus Bug Type: Reproducible crash Operating System: Windows NT4 Server PHP Version: 4.3.0 New Comment: it is sendmail that should handle this, not php... Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#29149) next »