title: Include a HTML Email Template into PHP Code
body: <p>I have a really nice looking HTML Template that I now need to implement into my mailing system. I am currently using this to send emails:</p>
  
  <pre><code>$to   = $dbuser;
  $subject = "Welcome";
  $from = "support@mysite.com";
  $headers = "From: $from";
  $server = ""; 
  
  ini_set ("SMTP", $localhost);
  
  $url="";
  $msg="$url";    
  $body = Example Text!
  
  mail($to, $subject, $body, $headers);
  </code></pre>
  
  <p>How would I include a HTML template (along side CSS) directly into the $body variable of my php email form?</p>
  
  <p>I've done quite a bit of research but I can't find anything substantial.</p>