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 :-) -- Per Jessen, Zurich Let your spam stop here -- http://www.spamchek.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php