Ulf
Ulf

Reputation: 19120

Simple PHP tool to display arbitrary emails

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

Answers (1)

cOle2
cOle2

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

Related Questions