Email Parser
Publisher
A class designed for parsing raw email content
Product Details
This class is designed to parse raw emails into logical parts including the header, content, to, from, subject, and file attachments. It also parses the various message types including HTML and Plain text messages.
User Reviews
Please rate the listing and tell the world know what do you think about the listing.
Doesn't parse non-MIME emails and some attachments.
Reviewed byAnonymousonTue, 29th April 2008
Will not parse or output a non-MIME email eg one sent from 'mail($to, $from, $message)' with no headers section.
Some attachments will not be parsed. Some emailers use filename="pic.gif" but some use filename=pic.gif. The latter would be ignored by this script.
Some emailers change their boundary type for seperating attachments. These would be ignored by this script. Should use stripos===0 to detect "--" when parsing multiple attachments.
Thanks, Lee.