I'm trying to parse HTML data in an email using PHP's IMAP functions.
When I echo imap_body($Mailbox, 1);
by example, the HTMl contained inside seems to be converted into
a different encoding (MIME I suspect)
Here is a sample chunk of $body
:
<TH=20
style=3D"PADDING-RIGHT: 5px; PADDING-LEFT: 5px; PADDING-BOTTOM: =
5px; COLOR: #fff; PADDING-TOP: 5px; BORDER-BOTTOM: #6eafd0 1px solid; =
BACKGROUND-COLOR: #004454"=20
align=3Dleft>Site</TH>
How do I convert the received the body data into parsable HTML ?
Thank you