V
V
Vladislav Petrenko2018-03-05 20:34:19
HTML
Vladislav Petrenko, 2018-03-05 20:34:19

Why does Yandex mail not understand html tags in a letter?

Greetings!
I send a letter from the site, Gmail understands html tags and everything is OK, but Yandex and Mail.ru simply displays the html code. Why ?
An example of how a Yandex letter is displayed:5a9d8894c222e447069695.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Rsa97, 2018-03-06
@Rsa97

According to the standard , an HTML letter must contain a Plain part that matches the text.
That is, if you look at the source code of the letter, then the main headings should indicate

Content-Type: multipart/alternative;boundary=<строка-разделитель>

Then there should be two parts of the letter:
- pure text with Content-type: text/plain;charset=utf-8
- HTML part withContent-type: text/html;charset=utf-8

T
Tantrido, 2018-12-10
@Tantrido

Yes, when sending a letter on Yandex, only the second and only part is formed:
Content-Type: text/html; charset=utf-8
Therefore, when a letter gets into the mailing list, for example, a system configured to receive only the text part does not see the html and simply cuts it off, as a result, users do not see the message, which is very inconvenient. I wrote to support so that they fix the system in accordance with the standard, or they will have to return to Gmail, which, by the way, works correctly in this regard: clear text is displayed in mailing lists, when users receive a letter, they see beautiful formatted html text.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question