Re: Parsing mail file [RESOLVED]
| From: | Pierre Pintaric | Date: | Wed, 31 Jan 2007 08:38:20 +0000 |
| Subject: | Re: Parsing mail file [RESOLVED] | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-248082@lists.php.net to get a copy of this message | ||
Finally, after a long course about the fishing philosophy :-)
A private discussion with Jon give me a very good way to find a solution.
I would to share it with guys who need it :
PECL mailparse package: http://pecl.php.net/package/mailparse
It parses mail files with attachments (rfc822 and rfc2045 compliant messages).
Good luck
Mauro Lorenzutti a écrit :
Hi Pierre,
I have the same problem: I'm searching a function to parse an email
file. I found this one:
http://pear.php.net/package/Net_IMAP/
I think that you can extract the code you need from the function
getParsedHeaders.
Regards,
Mauro Lorenzutti
e-mail: mauro.lorenzutti@webformat.com
---------------------------------------------------------
WEBFORMAT srl | Corte Europa, 12 | I-33097 SPILIMBERGO PN
Tel +39-0427-926.389 -- Fax +39-0427-927.653
info@webformat.com -- www.webformat.com
---------------------------------------------------------