Re: Help using PHP 5.3.3 mail() with Apache James
| From: | tamouse mailing lists | Date: | Thu, 25 Oct 2012 12:46:57 +0000 |
| Subject: | Re: Help using PHP 5.3.3 mail() with Apache James | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-319588@lists.php.net to get a copy of this message | ||
On Thu, Oct 25, 2012 at 5:32 AM, Maciek Sokolewicz
<maciek.sokolewicz@gmail.com> wrote:
> 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
> )
I have "lost" the backtick operator so many times, I've stopped using
it, using shell_exec instead.