#43795 [Opn->Bgs]: Message "sh: -t: not found" in apache error log every time i use mail()

From: Date: Sat, 12 Jan 2008 15:32:17 +0000
Subject: #43795 [Opn->Bgs]: Message "sh: -t: not found" in apache error log every time i use mail()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-121222@lists.php.net to get a copy of this message
ID: 43795 Updated by: tony2001@php.net 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('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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43795&edit=1

« previous php.bugs (#121222) next »