title: php Mail() and Outlook
body: <p>I have the following code:</p>
  
  <pre><code>    $subject = "Test Email";
      $from = "noreply@bob.com";
      ini_set("sendmail_from", $from);
  $message = "&lt;html&gt;&lt;body bgcolor=\"#DCEEFC\"&gt; 
                  Hello&lt;br&gt;&lt;br&gt;
                  This is a &lt;b&gt;test&lt;/b&gt; email.
                  &lt;br&gt;&lt;br&gt;&lt;hr&gt;
                  &lt;a href=\"\"&gt;Click Here&lt;/a&gt;     
                  &lt;br&gt;&lt;br&gt;&lt;hr&gt;
                  &lt;br&gt;&lt;br&gt;
                  Thank you for your time,&lt;br&gt;&lt;br&gt;
              &lt;/body&gt;&lt;/html&gt;";
  
      $headers  = "MIME-Version: 1.0\r\n";
      $headers .= "Content-type: text/html\r\n"; 
      $headers .= "From: " . $from . "\r\n";
      mail($mail, $subject, $message, $headers);
  </code></pre>
  
  <p>However, when I send the email to myself, I see all the code in Outlook.  If i send it to someone else, They see the HTML. If i send it to my hotmail, they see the HTML.</p>
  
  <p>Is this a problem with my outlook (2007), if so, what is it, or can I do something in the email to guarantee it being displayed properly?</p>
  
  <p>Please help!</p>