View body IMAP PHP mail without attachments

0

I am reading emails from my Gmail and use to decode the message:

$mensaje = imap_qprint(imap_body($mailbox, $uid));

But it shows me attachments codes and generates an incredible length of text as you can see in the following image: link

I would like to know how I can do it so that it does not show me those attachments, since I need only to show me the html well (which it already does) but without those attachments that damage the whole text, thank you very much!

    
asked by Andrés Padrón 31.08.2018 в 22:59
source

0 answers