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

From: Date: Wed, 06 Feb 2002 20:47:21 +0000
Subject: Bug #14032 Updated: Mail() always returns false but mail is sent
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-79395@lists.php.net to get a copy of this message
ID: 14032 Updated by: alindeman@php.net Reported By: tetranz@yahoo.com -Status: Open +Status: Feedback Bug Type: Mail related Operating System: FreeBSD 4.2 PHP Version: 4.0.6 New Comment: Works fine for me...It might be a FreeBSD prob..What mailer are you using? Previous Comments: ------------------------------------------------------------------------ [2001-11-12 09:39:33] tetranz@yahoo.com 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 this bug report at http://bugs.php.net/?id=14032&edit=1

« previous php.dev (#79395) next »