PattyB Posted October 26, 2006 Share Posted October 26, 2006 Hi all,I am trying to make a user-uploaded file attachment with Swift and read here http://forums.devnetwork.net/viewtopic.php?p=323522#323522 to do it this way:Upload the file, using $_FILES['form_field_name']['tmp_name'] as the path: php: $swift->addAttachment($_FILES['foo']['tmp_name'], $_FILES['foo']['name'], $_FILES['foo']['type']); I get the file to attach and send however when I open the files all that is in it is:C:\WINDOWS\TEMP\php6E.tmpAnyone know what is causing this?Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.