|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-02-28 19:42 UTC] yohgaki@php.net
[2002-05-23 12:48 UTC] ffeingol at webmasters-resources dot com
[2002-05-23 13:05 UTC] rasmus@php.net
[2002-05-23 13:17 UTC] ted at tedlove dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 10:00:01 2025 UTC |
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.