Re: [PHP] Pipe To A Program

2011-11-12 Thread Stuart Dallas
f a monster :) -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ > -Original Message- From: Stuart Dallas > Sent: Saturday, November 12, 2011 6:21 AM > To: Ron Piggott > Cc: php-general@lists.php.net > Subject: Re: [PHP] Pipe To A Program > > On 12 Nov 2011, at 07:

Re: [PHP] Pipe To A Program

2011-11-12 Thread Stuart Dallas
On 12 Nov 2011, at 07:38, Ron Piggott wrote: > I am looking at CPanel’s “E-Mail filtering” option “Pipe To A Program” > http://docs.cpanel.net/twiki/bin/view/AllDocumentation/CpanelDocs/FilterOptions > > The goal I am working towards is saving the contents of an incoming e-mail > address into a

Re: [PHP] Pipe To A Program

2011-11-12 Thread tamouse mailing lists
On Sat, Nov 12, 2011 at 5:12 AM, Ron Piggott 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/e

Re: [PHP] Pipe To A Program

2011-11-12 Thread Ron Piggott
know the rule is working because I receive an empty e-mail, just not passing the e-mail content Ron Piggott www.TheVerseOfTheDay.info -Original Message- From: tamouse mailing lists Sent: Saturday, November 12, 2011 4:04 AM To: Ron Piggott Cc: php-general@lists.php.net Subject:

Re: [PHP] Pipe To A Program

2011-11-12 Thread tamouse mailing lists
On Sat, Nov 12, 2011 at 1:38 AM, Ron Piggott wrote: > Does anyone know what variable the e-mail message is assigned within the > context of “Pipe To A Program”?  Is there a way to find out?  I can’t figure > this out. > > What I have tried so far is below: > > === > #!/usr/local/bin/php -q > >

[PHP] Pipe To A Program

2011-11-11 Thread Ron Piggott
I am looking at CPanel’s “E-Mail filtering” option “Pipe To A Program” http://docs.cpanel.net/twiki/bin/view/AllDocumentation/CpanelDocs/FilterOptions The goal I am working towards is saving the contents of an incoming e-mail address into a mySQL table. I am thinking of trying to program a cust