Results 1 to 3 of 3

Thread: Can't attach file uploads to email that is sent to admin

  1. #1
    Join Date
    Feb 2010
    Posts
    5

    Default Can't attach file uploads to email that is sent to admin

    Hi

    I want the file uploads that are sent by users to attach to the email that is sent to the site admin.

    Currently it only uploads the file to a directory on the hosting account.

    Anyone know how to set it to attach files to the email too?

    I'm using Formmail V 8.14 on Yahoo Small Business hosting.

    Thanks,
    Stofpad

  2. #2
    Join Date
    May 2008
    Posts
    1,291

    Default Re: Can't attach file uploads to email that is sent to admin

    Hi,

    Do you need for it to go to both places? I'm not sure if this is possible.

    I know that if you remove the $FILE_REPOSITORY setting from the script, then the file will be attached to the email.

  3. #3
    Join Date
    Feb 2010
    Posts
    5

    Default Re: Can't attach file uploads to email that is sent to admin

    Hi Ginger23

    Thanks for your help!

    You're right, I removed the $FILE_REPOSITORY setting from the script, and now the files do get attached to the email.

    I imagined that the $FILE_REPOSITORY had to be there just to get the files to upload and then they would be attached to the email fromt there, but was obviously wrong.

    Many thanks,
    Stofpad

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Formmail: Can csv file be attached to email sent?
    By railer in forum FormMail Subscription Support
    Replies: 6
    Last Post: 14-Aug-2007, 09:13 PM
  2. Testing enctype and file uploads
    By russellr in forum FormMail Subscription Support
    Replies: 0
    Last Post: 01-Sep-2005, 08:42 PM
  3. How to Email a Web Form's results as a TXT file attachment
    By Hagenow in forum FormMail Subscription Support
    Replies: 1
    Last Post: 11-May-2005, 09:16 AM
  4. File uploads
    By dRiver in forum FormMail Subscription Support
    Replies: 2
    Last Post: 15-Jun-2004, 05:14 AM
  5. Help trying to set up a form to email and send info to file
    By rridsdale in forum FormMail Subscription Support
    Replies: 1
    Last Post: 14-Jan-2004, 02:38 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •