B
B
Breeze12019-05-27 19:18:21
PHP
Breeze1, 2019-05-27 19:18:21

Phpmailer no line break in gmail?

Good afternoon. I am using phpmailer to submit a form.
When a letter arrives on gmail, there is no line break for some reason. Everything is displayed normally on mail.ru ( What could be the problem ?
$mail->isHTML(true);
$mail->Subject = 'Subject'; // Message header
$mail->Body = "Name: $name" . "< /br>" . " Phone: $phone " . "< /br>" . " Mail: $email " . "< /br>" . " Wish: $message "; // Message text

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