PHP 4.0 Bug #5630: mail() function erroneously returns true

From: Date: Mon, 17 Jul 2000 02:48:16 +0000
Subject: PHP 4.0 Bug #5630: mail() function erroneously returns true
Groups: php.dev 
Request: Send a blank email to php-dev+get-24690@lists.php.net to get a copy of this message
From: vvortex1@home.com Operating system: UNIX (FreeBSD) PHP version: 4.0.1pl2 PHP Bug Type: Misbehaving function Bug description: mail() function erroneously returns true This bug was posted in the manual annotations more than a year ago, but it still isn't fixed. When the mail server reports an error, such as 550, the mail() function returns true. This is particularly problematic because it leaves no warning whatsoever that the message wasn't sent. I'm on a shared host, so I don't have access to php.ini, but I can provide the results of phpinfo() if necessary. I was also able to reproduce the problem on my own system (Windows Me/Apache1.3.12/PHP4.0.1) and on a WindowsNT 4 SP6 partition with the same configuration.

« previous php.dev (#24690) next »