Hello, on 09/18/2006 03:48 AM Mathijs said the following: > Is there a way to parse mail headers from a RAW mail received from > sendmail? > > Like extracting the from, reply-to etc.. etc.. and also the message(s). > Also mabye Multipart email's en attachments? You may want to take a look at this MIME message parser class. It can parse any e-mail message without depending on any PHP extensions. It can also parse very large messages without exhausting the available memory. Optionally, attachments can be saved to separate files. This is essencial to parse messages with attachments . http://www.phpclasses.org/mimeparser -- Regards, Manuel Lemos Metastorage - Data object relational mapping layer generator http://www.metastorage.net/ PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php