PHP 4.0 Bug #5630 Updated: mail() function erroneously returns true
| From: | Bug Database | Date: | Tue, 01 Aug 2000 03:26:20 +0000 |
| Subject: | PHP 4.0 Bug #5630 Updated: mail() function erroneously returns true | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-27161@lists.php.net to get a copy of this message | ||
ID: 5630
Updated by: andi
Reported By: vvortex1@home.com
Status: Analyzed
Bug Type: Misbehaving function
Assigned To:
Comments:
Please change line 154 in php4/ext/standard/mail.c from:
if (ret == -1) {
to:
if (ret != 0) {
and let us know if this fixes your problem.
Full Bug description available at: http://bugs.php.net/?id=5630