Answer the question
In order to leave comments, you need to log in
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 questionAsk a Question
731 491 924 answers to any question