I am using
$body_msg = imap_utf8(imap_qprint(imap_fetchbody($inbox,$mail, 1.2)));
to fetch my html emails in codeigniter in a formatted way .
Issue I am facing is :
I get some mimepart below the body of the email .
For example - For an email I got -
----==_mimepart_579ff252a2fa2_7eceacb00c2643b--
below the email signatures used in the email , How should I filter / get rid of this content .