Parse and display MIME multipart email on website

Posted by aidan on Stack Overflow See other posts from Stack Overflow or by aidan
Published on 2010-06-18T10:57:47Z Indexed on 2010/06/18 12:13 UTC
Read the original article Hit count: 322

Filed under:
|
|
|
|

I have a raw email, (MIME multipart), and I want to display this on a website (e.g. in an iframe, with tabs for the HTML part and the plain text part, etc.). Are there any CPAN modules or Template::Toolkit plugins that I can use to help me achieve this?

At the moment, it's looking like I'll have to parse the message with Email::MIME, then iterate over all the parts, and write a handler for all the different mime types.

It's a long shot, but I'm wondering if anyone has done all this already? It's going to be a long and error prone process writing handlers if I attempt it myself.

Thanks for any help.

© Stack Overflow or respective owner

Related posts about perl

Related posts about email