Reputation: 19120
Does anyone know of an existing tool to render a HTML-display for emails?
I have access to the mail-source as text and need some kind of function/class/miniframework/... to get an Outlook-like display as a HTML-page.
I looked into Horde and roundcube and I would really like to avoid having to extract the functionality from those big projects. So, any ideas or suggestions are very much appreciated!
edit: The problem here mainly lies in nested Multipart-Mails, which i would like to display inline.
Upvotes: 0
Views: 392
Reputation: 4784
Maybe a combination of the MIME Email parser class and the Ext JS Javascript library are what you're looking for.
Specifically take a look at the Ext JS feed viewer example.
Upvotes: 1