I have no idea how to decode mime E-mail send from Outlook express. Here is my code:
session_start();
require('mimeDecode.php');
$inbox = imap_open("{localhost:143}INBOX", $SESSION_NAME, $SESSION_PASS);
$body = imap_body($inbox, $id);
echo $body;
And my Output is:
This is a multi-part message in MIME format. ------=NextPart_000_0069_01C22B8E.9EC869C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Big Big TEst ------=NextPart_000_0069_01C22B8E.9EC869C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Big Big TEst
------=_NextPart_000_0069_01C22B8E.9EC869C0--
What I want it to be is:
From:
To:
Date:
Subject:
Message:
How can I do this where should I start to look.
Thanks,
John