Re: pipe email to php?
| From: | Michael Geier | Date: | Sat, 24 Nov 2001 23:02:41 +0000 |
| Subject: | Re: pipe email to php? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-75622@lists.php.net to get a copy of this message | ||
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 change how a PHP script deals with the
input.
Also, you are piping the information to php://stdin and using fgetc() to
grab the data, correct?
.mg
kunal@getmonked.net wrote:
> 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
>