title: Using CSS in HTML emails sent using PHP
body: <p>Im not that awesome at php to please forgivr me.</p>
  
  <p>So I am sending a html email using PHP.</p>
  
  <p>After some research I have built one using tables and writ a PHP sending script similar to some many of you will of used. </p>
  
  <p>I know inline styling seems to be the most commonly used way to add style.</p>
  
  <p>When I define my $message variable before my $headers, is something LIKE this possible?</p>
  
  <pre><code>$message = " 
  
    &lt;head&gt;
      &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&gt;
      &lt;title&gt;BPN UK Contact Request&lt;/title&gt;
      &lt;style type="text/css"&gt;
  
       .exampleclass { 
         CSS Rules
       }
  
      &lt;/style&gt;
  
      REST OF HTML LAYOUT, INCEPTION TABLES ETC ETC
  
  "
  </code></pre>
  
  <p>Or do I have to go through and inline style it in the tags etc, its just that way seems a lot more work and more restricting. </p>
  
  <p>Sorry if this is a stupid question. </p>