I
I
Ilya Popov2015-03-25 15:47:44
PHP
Ilya Popov, 2015-03-25 15:47:44

How to output html from mail message?

I am making an email client, I ran into a situation that it displays messages containing html code in some way encoded (output screen below).
How to implement the correct output of html code?
Thanks in advance.
EXoI8qK.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya Popov, 2015-03-25
@Seyritey

The solution turned out to be easier than ever. The values ​​specified in the documentation for imap_fetchbody 1.2 did not work.
But here is setting imap_fetchbody($inbox,$email_number,2); solved all problems.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question