This code works for normal messages
--
$MAILSERVER="{localhost/imap}";
$link=imap_open($MAILSERVER,$PHP_AUTH_USER,$PHP_AUTH_PW);
$body=imap_body($link,$num);
echo strip_tags($body); // I don´t want HTML 😉
But, when I have a atach... a lot of garbage is displayed 🙁
I only want to display text plain
how to do?
thanks in advance