From: [EMAIL PROTECTED] Operating system: RedHat 7.2 PHP version: 4.1.2 PHP Bug Type: Mail related Bug description: mail() doesn't work with qmail
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 bug report at http://bugs.php.net/?id=15796&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15796&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15796&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15796&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15796&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15796&r=support Expected behavior: http://bugs.php.net/fix.php?id=15796&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15796&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15796&r=submittedtwice