Bug #14032 Updated: Mail() always returns false but mail is sent
| From: | scpark at gen128 dot com | Date: | Wed, 03 Jul 2002 12:39:46 +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-12977@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:
Oh! I forgot one thing.
My php is compiled as cgi. not mod_php.
Previous Comments:
------------------------------------------------------------------------
[2002-07-03 08:37:10] scpark@gen128.com
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.
------------------------------------------------------------------------
[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