In the new application that I am creating, I want to display the html email address in a table in a browser.
The problem is that html emails change the background color on my web page and sometimes end up with the html table that I use to display multiple emails.
Typically, emails contain full html, body, div, and table tags. A common occurrence is the body of bgcolor "ff0000", which turns my entire application into red.
Is there a way to deal with this, or should I encode it to take out the html tags.
Also, I tried to show the email code in an iframe, but to no avail. it didn't actually display the code at all, just an empty iframe.
<iframe>Body of html email here</iframe>
I am sure that I am missing something simple - any help would be appreciated.
Btw, html email is stored in php string.
source
share