How to pull html encoding from email data using PHP

sandysunglow

New Member
I'm working with emails and want to display the html in the browser, I'm not sure how to deal with the encoding. I want to extract the html to display it in the html browser. The way I plan on doing this is using an html parser on the entire email parsing the data inbetween the tags in the html section. Is there an easier/more efficient way to do this? Here's text encoding------=_Part_29856965_540743623.1285814590176Content-Type: text/plain; charset=ISO-8859-1Content-Transfer-Encoding: 7bitHere's the html encoding------=_Part_29856965_540743623.1285814590176Content-Type: text/html; charset=ISO-8859-1Content-Transfer-Encoding: 7bit
 
Back
Top