title: html inside php mail
body: <p>I have the following html codes for my email. </p>
  
  <pre><code>$headers = "From: jmedalla20@gmail.com \r\n" .
     "MIME-Version: 1.0\r\n" .
     "Content-Type: text/html; charset=ISO-8859-1 \r\n"; 
  $message = &lt;&lt;&lt;EOD
  &lt;!DOCTYPE html&gt;
  &lt;head&gt;
  &lt;meta http-equiv=Content-Type content=text/html; charset=utf-8 /&gt;
  &lt;link rel=stylesheet type=text/css href=logo.jpg/&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;img src=../../img/logo.jpg style=left: 0;position: absolute; width: 75px;/&gt;
  &lt;body style=padding: 0 0 0 100px;position: relative;&gt;
  {date(F d, Y )}  &lt;br&gt;&lt;br&gt;
  
  &lt;b&gt; {$row_Recordset1['First Name']}&amp;nbsp{$row_Recordset1['Middle Initial']}&amp;nbsp{$row_Recordset1['Last Name']}&lt;/b&gt;&lt;br&gt;
  {$row_Recordset1['Position']}&lt;br&gt;{$row_Recordset1['Company Name']}&lt;br&gt;{$row_Recordset1['Corporate Address']}&lt;br&gt;&lt;br&gt;
  
  &lt;p&gt;Dear {$row_Recordset1['Last Name']}:&lt;/p&gt;
  // the rest of the letters
  &lt;/body&gt;
  &lt;/html&gt;
  EOD;
  </code></pre>
  
  <p>I've had a few test runs and all that displays is </p>
  
  <pre><code>{date(F d, Y )}
  
  
  
  Dear :
  </code></pre>
  
  <p>I don't think the codes are being recognized. Any suggestions?</p>
  
  <p>EDIT: The html is working. it's just the php codes which are not working I guess</p>