title: How to Send email with line breaks in php
body: <p>Please help me to make code message in line break. i didn't know how to do this please check my code. hope you help  me out. thanks alot in advance:-</p>
  
  <pre><code>&lt;?php 
  if(isset($_POST['submit'])){
  $to = "mymail@gmail.com"; // this is your Email address
  $from = $_POST['name']; // this is the sender's Email address
  $first_name = $_POST['name'];
  $mail=$_POST['email'];
  $msg=$_POST['message'];
  
  $phone= $_POST['mob'];
  
  
  $subject = "contact";
  $subject2 = "Copy of your form submission";
  $message =  "Name:-". $first_name . "Email:-". $mail . "Phone Number:- 
     ".$phone. " Message:-".$msg." " ;
  
  $headers = "From:" . $from;
  $headers2 = "From:" . $to;
  mail($to,$subject,$message,$headers);
  
   ?&gt;
  </code></pre>
  
  <p>I want to recieve message like this:-</p>
  
  <pre><code>   Name:-loreal
     email:- Mymail
     phone Number:- 987654321
     Message:- Hi 
  </code></pre>