title: PHP Swift Mailer attach FPDF Problems
body: <p>I am having some issues with trying to get SwiftMailer to attach a file I have created with FPDF.  Basically I have a page called createPDF.php that is dynamically generated based on the ID number in the URL.  This page is set to output the PDF inline using $pdf->Output("filename.pdf",I);.  What I want to do is to be able to attach this file to an email using SwiftMailer from another page simply by calling my createPDF.php?id=xxx link.</p>
  
  <p>From the PHP page where I want to send the email from, everything works, except the attachment.  It attaches something, but not what I want and it is not viewable in a PDF viewer on my local machine.  The line specific to the attaching the file is:</p>
  
  <p>->attach(Swift_Attachment::fromPath('createPDF.php?id=xxxx'))</p>
  
  <p>This does not work, but surely, it must be possible without saving the file on my web server by FPDF.</p>
  
  <p>Is this possible?  If so, how?</p>
  
  <p>Thanks!</p>