title: style in body message in sendmail php
body: <p>In the sendmail php i create table n if we fill &amp; click submit button, mail will receive successfully. I try some example code that i shown below but it will print that all html code except that quotes. Now i want to add some styles like tables or bold italic or add images in body of that mail that is "$message" area... can anyone help ?</p>
  
  <pre><code>&lt;?php
  ob_start();
  $to = "me@mymail.com";
  $subject = "Request mail";
  
  $message = "&lt;html&gt;&lt;body&gt;";
  $message .= '&lt;img src="Images/Logos/Logo_color.png" alt="Logo" /&gt;';
  $message .= '&lt;table rules="all" style="border-color: #666;" cellpadding="10"&gt;';
  $message .= "&lt;tr style='background: #eee;'&gt;&lt;td&gt;&lt;strong&gt;Name:&lt;/strong&gt; &lt;/td&gt;&lt;td&gt;" .$Name.PHP_EOL. "&lt;/td&gt;&lt;/tr&gt;";
  $message .= "&lt;tr&gt;&lt;td&gt;&lt;strong&gt;Company Name:&lt;/strong&gt; &lt;/td&gt;&lt;td&gt;" .$Company.PHP_EOL. "&lt;/td&gt;&lt;/tr&gt;";
  $message .= "&lt;tr&gt;&lt;td&gt;&lt;strong&gt;Mobil Number:&lt;/strong&gt; &lt;/td&gt;&lt;td&gt;" .$Mobile.PHP_EOL. "&lt;/td&gt;&lt;/tr&gt;";
  $message .= "&lt;tr&gt;&lt;td&gt;&lt;strong&gt;Email Id:&lt;/strong&gt; &lt;/td&gt;&lt;td&gt;" .$Email.PHP_EOL. "&lt;/td&gt;&lt;/tr&gt;";
  $message .= "&lt;tr&gt;&lt;td&gt;&lt;strong&gt;Address):&lt;/strong&gt; &lt;/td&gt;&lt;td&gt;" .$Address.PHP_EOL. "&lt;/td&gt;&lt;/tr&gt;";
  $message .= "&lt;tr&gt;&lt;td&gt;&lt;strong&gt;State:&lt;/strong&gt; &lt;/td&gt;&lt;td&gt;" .$State.PHP_EOL. "&lt;/td&gt;&lt;/tr&gt;";
  $message .= "&lt;tr&gt;&lt;td&gt;&lt;strong&gt;Edition:&lt;/strong&gt; &lt;/td&gt;&lt;td&gt;" .$Edition."&lt;/td&gt;&lt;/tr&gt;";
  $message .= "&lt;/table&gt;";
  $message .= "&lt;/body&gt;&lt;/html&gt;";
  
  $from = "mail@yourdomain.co.in";
  $headers = "From:" . $from;
  mail($to,$subject,$message,$headers);
  header('Location: http://yourdomain.co.in') ;
  ?&gt;
  </code></pre>