I want to be able to attach a file that I generate (on the fly, I dont want to save the file on my server) and send it out via email.

I have the text all done, but I'm lost on how to attach the file to the email using sendmail

Thank you

Edit
Report