Error in imap_qprint

0

Does anyone know why this error occurs when using imap_qprint .

$body = imap_qprint(imap_body($mailbox,$i));
  Invalid quoted-printable sequence:="UTF-8" Content-Transfer-Encoding: quoted-printable Ol = C3 = A1, searched for 13 (errflg = 3) in Unknown on line 0

    
asked by anonymous 27.10.2017 / 04:09

1 answer

1

Switch:

$body = imap_qprint(imap_body($mailbox,$i));

By:

$body = quoted_printable_decode(imap_body($mailbox,$i));

I think the only difference is that quoted_printable_decode does not need the imap module, so maybe it ignores the charset type defined in the message.

  

Note: "Errors" that begin with Notice: are not actually errors, but a warning only, it only emits this when all error types are linked (see E_ALL ), on production servers it is very likely that it will not display (nor should it).

    
27.10.2017 / 17:00