Re: Help using PHP 5.3.3 mail() with Apache James
| From: | Maciek Sokolewicz | Date: | Thu, 25 Oct 2012 10:32:42 +0000 |
| Subject: | Re: Help using PHP 5.3.3 mail() with Apache James | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-319587@lists.php.net to get a copy of this message | ||
On 23-10-2012 23:54, Steven Pogue wrote:
Dan, I assume you meant to add a system() call into it...if so, here is what was presented. -rwxrwxrwx. 1 root root 3878 Sep 6 14:45 /opt/james-2.3.2/bin/sendmail.py -rwxrwxrwx. 1 root root 3878 Sep 6 14:45 /opt/james-2.3.2/bin/sendmail.py Steve Hey Steve,first of all: don't top-post. Secondly: no, he didn't. Dan used the backtick operator (`) which is the same as calling system on its parameter. ie:
ls -l
is equal to writing
shell_exec('ls -l')
( http://www.php.net/manual/en/language.operators.execution.php )