Bug #14032: Mail() always returns false but mail is sent

From: Date: Mon, 12 Nov 2001 14:39:34 +0000
Subject: Bug #14032: Mail() always returns false but mail is sent
Groups: php.dev 
Request: Send a blank email to php-dev+get-70243@lists.php.net to get a copy of this message
From: tetranz@yahoo.com Operating system: FreeBSD 4.2 PHP version: 4.0.6 PHP Bug Type: Mail related Bug description: Mail() always returns false but mail is sent I can see that this has been reported for Solaris too. mail() always returns false but mail is sent successfully. I'm running PHP 4.0.6 as an Apache module on a FreeBSD virtual server host (at digitaldaze.com). sendmail version is 8.11.6 I can reproduce this with a simple script: if (mail("tetranz@yahoo.com","Test from PHP","Does this work?")) echo "True"; else echo "False"; Thanks Ross -- Edit bug report at: http://bugs.php.net/?id=14032&edit=1

« previous php.dev (#70243) next »