#20367 [NEW]: mail() function does not work

From: Date: Mon, 11 Nov 2002 19:52:56 +0000
Subject: #20367 [NEW]: mail() function does not work
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-24614@lists.php.net to get a copy of this message
From: jstotler1@earthlink.net Operating system: OSX 10.2.1 PHP version: 4.2.3 PHP Bug Type: Mail related Bug description: mail() function does not work I am running Apache 1.3.26 and php 4.2.3 on OSX 10.2.1 I have created the /usr/lib/php.ini file, and verified that changes to it are reflected in phpinfo(). The path to sendmail is set correctly. Sendmail functions properly, and I have alleviated the various permissions issues related to sendmail on OSX, as I have been using this box as a mail server for months now. This simple bit of scripting fails: mail("realaddress@earthlink.net", "My Subject", "Line 1\nLine 2\nLine 3"); There are no errors reported in the browser or in error_log, so there is no indication of failure, other than the fact that the email is never recieved. I have found dozens of similar posts in newsgroups and in web forums, but noone has yet found the answer. Searching your online KnowledgeBase and Bug DB come up with no mentions either. If there is any further information or debugging that I can provide, please let me know. -- Edit bug report at http://bugs.php.net/?id=20367&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20367&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20367&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20367&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20367&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20367&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20367&r=support Expected behavior: http://bugs.php.net/fix.php?id=20367&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20367&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20367&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20367&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20367&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20367&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20367&r=isapi

« previous php.bugs (#24614) next »