title: PHP Send email with PDF attachment without creating the file?
body: <p>I generate PDF's using FPDF and I need to email it to a customer.</p>
  
  <p>Since I can generate the PDF's from the DB, I don't want to save all the PDF's locally as it will clutter up my server.</p>
  
  <p>I want to be able to send an email with a PDF attached. Do I need to create a temporary file, then delete it every time or is there another way to do it?</p>