PDA

View Full Version : Displaying HTML emails



n00b
15 Aug 2011, 9:22 AM
Hi,

Is there any clean, secure and sandboxed way to display an html email into a Ext element (such as a Panel or something like that) ?

Because emails can contain some css properties and sometimes contain <html> or <body> tags.

If I remember correctly, in extjs 3, there was a "iframe" property which was able to display content inside an iframe.
I could of course use my own <iframe> inside a tpl, but since there's no way to auto adjust the frame height to fit the full area, I'd like to use, if possible, a built-it extjs method.

Thank you !

n00b
15 Aug 2011, 11:32 AM
solved by this snippet : http://www.johnminihan.com/node/4