title: Creating A New Line In $body Of PHP Mail Function
body: <p>I've got the PHP mail(): function working for a form I'm using on my site. I am now trying to format the $body attribute to look nicer and more organized when I receive the subsequent e-mail.</p>
  
  <p>I've tried \n and I've tried <br> and both give me </p>
  
  <p>Here's the snippet of the code that I'm working with (I think it's just a matter of syntax that I'm doing wrong):</p>
  
  <pre><code>if(!empty($brandname) &amp;&amp; !empty($firstname) &amp;&amp; !empty($lastname) &amp;&amp; !empty($email) &amp;&amp; !empty($goals) &amp;&amp; !empty($bio)){
          $to = 'test@test.com';
          $subject = 'Submission Form';
          $body = 'Brand Name: '.$brandname.'&lt;br /&gt;Name: '.$firstname.' '.$lastname.'&lt;br /&gt;Email: '.$email.'&lt;br /&gt;About the Company:'.$bio;
          $headers = 'From: '.$email;
  </code></pre>
  
  <p>It's just displayed the <code>&lt;br /&gt;</code> as text in the e-mail I receive. It was the same when I used \n (which I'm assuming is actually the right way to do it). What am I doing wrong? Thanks.</p>