title: Remove the HTML tags from the email, and desing the email body
body: <p>I have the following php code:</p>
  
  <pre><code> &lt;?php
  header('Content-Type: text/html; charset=utf-8');
  if (isset($_POST['email']))
  //if "email" is filled out, send email
  $name = $_POST['name'];
  $email = $_POST['email'];
  $phone = $_POST['phone'];
  $message = $_POST['message'];
  $formcontent="&lt;html&gt;&lt;body&gt;
  &lt;span style='background-color: #cdcdcd'&gt;
  text: $name
  &lt;/span&gt;
  text: $phone
  &lt;span style='background-color: #cdcdcd'&gt;
  text: $email
  &lt;/span&gt;
  text: $message &lt;/html&gt;&lt;body/&gt;";
  $recipient = "email@email.com";
  $subject = "text text text ";
  $headers = "From: $email" . "\r\n" .
      "Reply-To: $email" . "\r\n" .
      'X-Mailer: PHP/' . phpversion();
  mail($recipient, $subject, $formcontent, $headers) or die("Error!");
  echo "Thank You!";
  ?&gt;
  </code></pre>
  
  <p>The problem is that wehn I recieve the email I see all the HTML tags in the email body, and the email isn't styling.</p>
  
  <p>My question is how can I fix it?</p>