A tough one... Parsing an E-Mail

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
CompCity
Forum Newbie
Posts: 1
Joined: Wed Jun 19, 2002 12:31 am

A tough one... Parsing an E-Mail

Post 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?
Zmodem
Forum Commoner
Posts: 84
Joined: Thu Apr 18, 2002 3:59 pm

Post by Zmodem »

Post Reply