Page 1 of 1

A tough one... Parsing an E-Mail

Posted: Wed Jun 19, 2002 12:31 am
by CompCity
I have been trying to work this one out for quite some time:

You can pipe an email address, john@doe.com for example, to a specific file found on a system. A good example would be piping to a Perl script, Perl can then read stdin and parse the file into each of it's parts (Subject, From, To etc).

I just can't figure out how to do this in PHP. Any ideas?

Posted: Wed Jun 19, 2002 12:45 am
by Zmodem