title: send generated pdf (with dompdf) to email without saving on server and without pear class
body: <p>Is it possible to send dompdf generated PDF to email, without saving PDF on server and without using pear classes?</p>
  
  <p>I have found sollutions only for:
  1) saving pdf on server and then adding it as attachement or
  2) Using some pear class</p>
  
  <p>Both of those doesn't fit me. I am having pdf in variable:</p>
  
  <pre><code>$pdf = $dompdf-&gt;output();                                   
  </code></pre>