title: How to create an XML file in PHP then send it as attachment via email
body: <p>I could do this, but I'm not sure if I have to create the file on my server then attach it, or can I just create a temp file that doesn't reside on my server and still send it as an attachment?</p>
  
  <p>Thanks!</p>