Re: Parsing mail file

From: Date: Tue, 30 Jan 2007 09:32:31 +0000
Subject: Re: Parsing mail file
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-248014@lists.php.net to get a copy of this message
Jim Lucas a écrit :
Pierre Pintaric wrote:
Hello there, I'm sure this question was ask 1,000 times, but I didn't find any archive about this, that's why I need help... Here is my problem: I receive mail file from my MTA (ie QMail), that works fine. Now, I would to find a class or a function that parse the mail and gives headers informations, body of the mail (even if it is a multi-part mail) and file attachments. I found nothing in PEAR library, nothing on the web, ... I don't what want to rebuild the wheel if somebody works on it and made a good job... If somebody uses a great function and want to share, I will please him... :-) Thanks for your help. Pierre
google.com and ask for php web mail client This will return you many different examples of php programs that have the function/class that you are looking for.
Of course, I looked for that, in PEAR, you can find Mail::IMAP and Mail::MBox... All this exemples connect to an IMAP server or to a MBox file, I would only parse an email file...

« previous php.general (#248014) next »