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 itself:
On a cPanel server, I wish to setup an email address with a pipe like:
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> :
|/home/account/public_html/mailtools/emailscript.php
This always gives me an error saying it cannot foraward.
If I pipe it to "|/usr/bin/php
/home/account/public_html/mailtools/emailscript.php"
it tells me: "No input file specified."
2) to read the data:
I wish to parse the data into $from $subject and $body
The data will then be manipulated, and key pieces of data will be extracted
and sent to either a database or an instant message to my cell phone. (this
part I've already solved)
Thomas Tremain
www.LiveHost.net <http://www.LiveHost.net>
www.GotoNames.com <http://www.GotoNames.com>
www.TrafficExaminer.com <http://www.TrafficExaminer.com>