I am trying to get a PHP mail client created and I can click on a message and view the content but all I want to see is
just the message not:
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--
it is supposed to be Big Big TEst how can I extract just the body and maybe the person who it is from in the messgage. Here is my code:
session_start();
$inbox = imap_open("{localhost:143}INBOX", $SESSION_NAME, $SESSION_PASS);
$message = imap_body($inbox, $id);
print($message);
Thanks
John