|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-01-12 15:32 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 05 17:00:01 2025 UTC |
Description: ------------ For each time I try to execute the mail function, a message stating the following is placed in the apache error log: "sh: -t: not found" No idea what could be causing this, I just made a simple call to the mail function. However the default sendmail path is usually "sendmail -t ...", right? Maybe just parsing it wrong. Apache/2.2.3 (Ubuntu) mod_ssl/2.2.3 OpenSSL/0.9.8c PHP/5.3.0-dev Reproduce code: --------------- <?php mail('sam@sambarrow.com', 'Hello', 'You\'re not going to get this'); Expected result: ---------------- I expect an email Actual result: -------------- I get "sh: -t: not found" in the apache error log, and the email does not go through.