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?
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Using the open source Swift Mailer library, http://swiftmailer.org/, you can create a temp file that doesn’t reside on your server using the following code:
(Sample code taken from http://swiftmailer.org/wikidocs/v3/tutorials/attachments)