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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php