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

From: Date: Mon, 18 Feb 2002 08:08:21 +0000
Subject: Bug #14032 Updated: Mail() always returns false but mail is sent
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-485@lists.php.net to get a copy of this message
ID: 14032 Updated by: brett@mad.scientist.com -Reported By: tetranz@yahoo.com +Reported By: brett@mad.scientist.com Status: Feedback Bug Type: Mail related Operating System: FreeBSD 4.2 PHP Version: 4.0.6 New Comment: I'm seeing this same problem. mail() always returns false (looks like a null string). I'm also on FreeBSD with the same version of SendMail (8.11.6) Previous Comments: ------------------------------------------------------------------------ [2002-02-06 15:47:20] alindeman@php.net Works fine for me...It might be a FreeBSD prob..What mailer are you using? ------------------------------------------------------------------------ [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.bugs (#485) next »