Re: [PHP] pipe email to php?

2001-11-24 Thread John S. Huggins

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 2001, Kunal Jhunjhunwala 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
>-
>-
>--- 
>-PHP General Mailing List (http://www.php.net/)
>-To unsubscribe, e-mail: [EMAIL PROTECTED]
>-For additional commands, e-mail: [EMAIL PROTECTED]
>-To contact the list administrators, e-mail: [EMAIL PROTECTED]
>-

**

John Huggins
VANet
7101 Oriole Avenue
Springfield, VA 22150
703-912-6453
703-912-4831 fax

[EMAIL PROTECTED]
http://www.va.net/

**


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] pipe email to php?

2001-11-24 Thread Michael Geier

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

[EMAIL PROTECTED] 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
> 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]