Re: mailparse or imap* ?

From: Date: Wed, 03 Nov 2004 20:42:32 +0000
Subject: Re: mailparse or imap* ?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-201085@lists.php.net to get a copy of this message
Per Jessen wrote:
Per Jessen wrote:
I need functions to parse an email and I've been using mailparse sofar. Works pretty well, except it has a couple of shortcomings - will only retrieve last of the Received:-headers, does not decode quoted-printable body-parts, does not decode RFC2047-encoded filenames in COntent-Disposition. So I've been having a closer at imap* - but it's just not very clear if imap* will for instance deal with a single email available as a string? mailparse does exactly what I need, except the shortcomings listed are becoming a problem. any suggestions? (other than fixing mailparse :-)
No takers? What *do* you guys use for parsing an email then? I'd prefer to keep using mailparse, except it's not complete :-( /Per I use scripts I wrote myself. Just read trough the whole RFC, and you'll find out exactly how each email message is made, and what it (has to/will) consist(s) of.
- Tul

« previous php.general (#201085) next »