We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42584
    • 1 Posts
    I have built a form that uploads a photo to the server, then I send a notification email that contains a link to the photo. My script uploads, moves and renames the photo to /assets/uploads/ and then I setplaceholder for the new name to link in the email. I don't want to attach the image to the email, but so far is the only way I can get it to work without throwing an error.

    I've tried to unset($_FILES) which will work fine on my WAMPserver but not on the production server(throws error, cannot open /tmp/filename)

    Is there a way to delete the formIt variable before sending the email, or just telling formIt not to attach it?

    thanks