This question already has an answer here:
- newline not working in PHP mail 3 answers
$to = "example@gmail.com" ;
$subject = "Instant estimate message";
$message ="<b>Name: </b>".$name."
"."<b>Email: </b>".$email."
"."<b>Mobile: </b>".$mobile."
"."<b>Message: </b>".$message1;
$from = $email;
$headers = "MIME-Version: 1.0
";
$headers .= "Content-Type: text/html; charset=ISO-8859-1
";
$headers .= "From:".$from;
mail($to,$subject,$message,$headers);
i cant get the details in newline, even i have added
$message ="<b>Name: </b>".$name."</br>"."<b>Email: </b>".$email."</br>"."<b>Mobile: </b>".$mobile."</br>"."<b>Message: </b>".$message1;
So tell me how to fix this.
</div>