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

From: Date: Wed, 03 Jul 2002 12:37:10 +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-12976@lists.php.net to get a copy of this message
ID: 14032 Updated by: scpark@gen128.com Reported By: tetranz@yahoo.com Status: No Feedback Bug Type: Mail related Operating System: FreeBSD 4.2 PHP Version: 4.0.6 New Comment: I have same experience with my solaris box. My machine is Ultra-60 server running Solaris 8. PHP 4.2.1 and 4.1.2 occur same result. Even mail() returns empty value, test mails are posted successfully. Same code run on linux box, very well. No problem on linux. Previous Comments: ------------------------------------------------------------------------ [2002-03-07 00:00:04] php-bugs@lists.php.net No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2002-02-18 03:08:21] brett@mad.scientist.com 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) ------------------------------------------------------------------------ [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 (#12976) next »