Hi,
The widget type "richtext_with_mimetype" can display that
kind of content.

Did you use the nuxeo-platform-mail plugin to retrieve the
email? If not it could be interesting for you, see
http://hg.nuxeo.org/nuxeo/nuxeo-features/file/release-5.4.1/nuxeo-platform-mail/
I think it hasn't changed much since 5.3.2.

Displaying the mail message body directly in the HTML page
is a great feature, but you may have to deal with CSS
inconsistencies (as the HTML message styling may be affected
by the global page styling) and you won't have any direct
solution to display inline images for instance.

So I would advise to fill one of the document properties
with the mail message body only in simple cases (message is
pure text or pure html, no inline content, etc...) and to be
the entire message as a blob in a different property (adding
the .eml extension for instance) as users will be able to
open it in their own mailer application (which will render
the message content much more accurately in more complex
cases).

Good coding :)

---
Mailing list: [email protected]
Forum: http://forum.nuxeo.org/f/1/

Reply via email to