ID: 43795
Updated by: [EMAIL PROTECTED]
Reported By: sam at sambarrow dot com
-Status: Open
+Status: Bogus
Bug Type: Mail related
Operating System: Ubuntu 7.04
PHP Version: 5.3CVS-2008-01-09 (CVS)
New Comment:
Check sendmail_path in your php.ini.
Previous Comments:
------------------------------------------------------------------------
[2008-01-09 09:52:49] sam at sambarrow dot com
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 this bug report at http://bugs.php.net/?id=43795&edit=1