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

From: Date: Sun, 05 Jan 2003 22:32:03 +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-29154@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 Previous Comments: ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ 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

« previous php.bugs (#29154) next »