K
K
kot-airplane2017-09-19 10:36:18
PHP
kot-airplane, 2017-09-19 10:36:18

Text/thml mail in PHPMailer?

There is such a line in the library: If I set it to false or true, the letter still comes in the same form. If I set false and in the text of the letter I do: Then the same way, in any case, the text comes in one line, if the letter is sent in text format, then at least an empty line should be. Or does the aforementioned isHTML(false) setting not work and everything goes to html?
$this->mail->isHTML(false);
"Здравствуйте!\n\nЭто письмо было отправлено"

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question