Bug #15796 Updated: mail() doesn't work with qmail
| From: | yohgaki@php.net | Date: | Fri, 01 Mar 2002 00:42:15 +0000 |
| Subject: | Bug #15796 Updated: mail() doesn't work with qmail | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-1351@lists.php.net to get a copy of this message | ||
ID: 15796
Updated by: yohgaki@php.net
Reported By: ted@tedlove.com
-Status: Open
+Status: Bogus
Bug Type: Mail related
Operating System: RedHat 7.2
PHP Version: 4.1.2
New Comment:
The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php
Previous Comments:
------------------------------------------------------------------------
[2002-02-28 17:28:58] ted@tedlove.com
On my apache 1.3.23 and php 4.1.2 system the mail() function does not
send mail, although the local mail system (QMail) is functioning in
every other capacity. I have tried the suggestions of changing the
"sendmail_path" to:
/usr/sbin/sendmail
/var/qmail/bin/sendmail
and
/var/qmail/bin/qmail-inject
(I have also tried the sendmail wrapper commands with -t and
qmail-inject with -h)
This short script segment:
if (mail($to, $sub, $body)){
print ("MAIL SENT");
} else {
print ("MAIL DIED");
}
always returns "MAIL DIED".
Qmail logs and mail logs show nothing.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15796&edit=1