PHP email treated as HTMl
<p>I have a send mail function and I want the message to be read as HTML.</p>

<p>Here's my code:</p>

<pre><code>    $subject = "Request for Quotation: " . $name . " &lt;" . $email . "&gt;";

    $to = "echo@mysiteup.com";
    $message = 'Request for Quotation&lt;br /&gt;';

    foreach ($post as $key =&gt; $value)
    {   
        $message .= ucfirst($key) . ': ' . $value . '&lt;br /&gt;';   
    }

    $headers  = "MIME-Version: 1.0\n";
    $headers .= "Content-type: text/html; charset=iso-8859-1\n";

    $num = md5(time());

    $headers = "From: " . $name. " &lt;" . $email . "&gt;\r\n";
    $headers .= "MIME-Version: 1.0\r\n";
    $headers .= "Content-Type: multipart/mixed;";
    $headers .= "boundary=".$num."\r\n";
    $headers .= "--$num\r\n";

    $headers .= "Message-ID: &lt;".gettimeofday()." TheSystem@".$_SERVER['SERVER_NAME']."&gt;\r\n";
    $headers .= "X-Mailer: PHP v".phpversion()."\r\n";         

    $headers .= "Content-Type: text/html; charset=iso-8859-1\r\n";
    $headers .= "Content-Transfer-Encoding: 8bit\r\n";
    $headers .= "".$message."\n";
    $headers .= "--".$num."\n"; 

    $mailSent = @mail($to, $subject, $message, $headers); 
    $return['msg'] = $mailSent ? 'Request for quotation sent.' : 'Request failed. Please try again later.';
</code></pre>

<p>I checked the email and tags were displayed. What will I do such that the email will be treated as a HTML?</p>
