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:
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
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
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:
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
>
>
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
I resolved my problem several days later, and I thought I might post it for
those that come up behind me.
I had several blank lines in my .php file after the closing ?>
This caused an output of the script (even though I could not see it) which
generated the failure notice within Exim.
Thomas
I am actually real close now... Thanks to your help.
The email pipes to the PHP, and I get an email response from PHP so I can
look at output. However, I still get a non-delivery message at the same
time:
==
This message was created automatically by mail delivery sof
Is emailtest.php executable, does it start with #!/usr/bin/php, is $HOME
set?
Thomas Tremain wrote:
I have attempted to create a .procmailrc that looks like:
:0
* [EMAIL PROTECTED]
| $HOME/emailtest.php
I have also removed the forwarder from my /etc/valiases file.
Now I get: The following add
Thomas --
...and then Thomas Tremain said...
%
% I'm sure this question has been visited before, but I've had some troubles
% searching through
% the archives.
What sort of trouble? Just trouble finding a helpful answer, or actual
trouble performing a search?
%
% This is at least a two pa
I have attempted to create a .procmailrc that looks like:
:0
* [EMAIL PROTECTED]
| $HOME/emailtest.php
I have also removed the forwarder from my /etc/valiases file.
Now I get: The following address(es) failed: [EMAIL PROTECTED]
Can I be sure Procmail is even handling my email? I thought Exim
>
> I'm sure this question has been visited before, but I've had some troubles
> searching through
> the archives.
>
> This is at least a two part question.
>
> I wish to use a pipe instead of the pop3 class, because I wish the email to
> start the script
> instead of waiting for a cronjob
I'm sure this question has been visited before, but I've had some troubles
searching through
the archives.
This is at least a two part question.
I wish to use a pipe instead of the pop3 class, because I wish the email to
start the script
instead of waiting for a cronjob.
1) The pipe itse
If $myoutput is "foo", it will attempt to get input from a file named
"foo". Use "command | $myoutput" instead.
Tim T wrote:
I have a mem var $myoutput I would like to pipe it to the input of a
shell_exec command.
I tried shell_exec("command < $myoutput") however this is not quite right.
Anybo
I have a mem var $myoutput I would like to pipe it to the input of a
shell_exec command.
I tried shell_exec("command < $myoutput") however this is not quite right.
Anybody have any ideas??
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Oups... I missed that "register_shutdown_function" function.
Thanks Marek.
Benja.
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Manual -> Features -> Connection handling
Benja wrote:
>Hi all,
>is it possible to know in PHP if the client hit the stop button or cl
Manual -> Features -> Connection handling
Benja wrote:
Hi all,
is it possible to know in PHP if the client hit the stop button or close the
browser ?
Here is what I read on a forum :
I was told you cannot when I asked 'way back when.
When the user hits stop, the pipe is brok
Hi all,
is it possible to know in PHP if the client hit the stop button or close the
browser ?
Here is what I read on a forum :
> I was told you cannot when I asked 'way back when.
>
> When the user hits stop, the pipe is broken.
> Apache will attempt to spit out some more data,
On Sun, 2002-03-03 at 19:32, Ken Tossell wrote:
> What var is the piped data placed in?
>
> Php 4.1 executable rhlinux 2.4.17
I'm gonna assume that you mean that you're doing something like this:
% cat somefile.txt | script.php
In which case, you'd need to fopen() the file 'php://stdin' and re
What var is the piped data placed in?
Php 4.1 executable rhlinux 2.4.17
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey,
Ive looked.. and tried... nothing seems to work.. any ideas on how to pipe
email to a php script? Ive already setup the valias.. the big question is,
how to process the info when the email comes in..
kunal
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PRO
The forum PHP program package Phorum has something like this available. I
believe it is a file called phorummail.php.
I remember using it as a basis for another program and it really does a
good job of indentifying and splitting headers and body of emails into
assorted variables.
On Sun, 25 Nov
The real question is why? What is the purpose of piping the email to a
PHP script?
Are you trying to insert emails into a database?
Are you trying to deal with emails automatically based on subject?
Are you trying to deal with emails from a specific source?
The answers to these questions will c
hi all,
could someone help me with this prob ...
i wanna pipe an emails' sender, subject and body ... ( mailalias -->
programm(script) )
any ideas how this could be done the *best* way?
#!/usr/local/bin/php -q
---
24 matches
Mail list logo