From: sam at sambarrow dot com
Operating system: Ubuntu 7.04
PHP version: 5.3CVS-2008-01-09 (CVS)
PHP Bug Type: Mail related
Bug description: Message "sh: -t: not found" in apache error log every time i
use mail()
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('[EMAIL PROTECTED]', '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.
--
Edit bug report at http://bugs.php.net/?id=43795&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=43795&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=43795&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=43795&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=43795&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=43795&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=43795&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=43795&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=43795&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=43795&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=43795&r=support
Expected behavior: http://bugs.php.net/fix.php?id=43795&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=43795&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=43795&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=43795&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43795&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=43795&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=43795&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=43795&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=43795&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=43795&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=43795&r=mysqlcfg