Re: Pipe To A Program
| From: | tamouse mailing lists | Date: | Sat, 12 Nov 2011 11:16:25 +0000 |
| Subject: | Re: Pipe To A Program | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-315652@lists.php.net to get a copy of this message | ||
On Sat, Nov 12, 2011 at 5:12 AM, Ron Piggott
<ron.piggott@actsministries.org> wrote:
>
>
> I used your code and it still didn't work. Would you show me what you put
> in for your Pipe To A Program settings?
>
> What I used is:
>
> Rules: "To" "Contains" customer service e-mail address
>
> "Action"
> /usr/local/bin/php /path/to/email_to_ticket_gateway.php
>
> - I know the rule is working because I receive an empty e-mail, just not
> passing the e-mail content
This sounds more like a CPanel question than a PHP question, however,
if your action above is what gets executed, there will be no $_REQUEST
global as it is run as a cli program.