Results 1 to 2 of 2

Thread: Uploading files via e-mail

  1. #1
    Join Date
    Apr 2014
    Posts
    3

    Default Uploading files via e-mail

    Hello what I want to do is enable an upload that will e-mail a file to me I can't figure out how to do this after looking at the HowTo file multiple times.

    My form is very simple but my first main problem is where to point the form action to? <form action=" ?????? "



    <form method="post" action="http://mydomain.com/upload.php" // <-- where should this point?
    name="upload" enctype="multipart/form-data">


    <input type="hidden" name="conditions1" value=":@
    @IF@first_photo@first_photo~/^.*\.(jpg|jpeg|gif|png)$/i@@You can only upload picture files in jpg/jpeg/gif or png formats@" />


    <input type="hidden" name="recipients" value="upload@mydomain.com" />
    <input type="hidden" name="subject" value="Upload" />
    <div border="0" cellspacing="5%" class="upBox">
    <tr>
    <td valign="top" colspan="4">
    <p><strong>Upload photo: </strong><input type="file" name="first_photo" /></p>
    </td>
    </tr>
    <tr>
    <td colspan="4" align="center"><input type="submit" value="Send the photo" class="button" /></td>
    </tr>
    ___________________

    When I use mydomain.formmail.php for the action then it gives me some errors that I set up for another form on that page (it tells me missing e-mail field, but this is a new form and shouldn't require e-mail)

  2. #2
    Join Date
    Apr 2014
    Posts
    5

    Default Re: Uploading files via e-mail

    It is very simple way to upload the files.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Uploading to a sub directory
    By Stokkers in forum HOWTO Guides and Tips
    Replies: 3
    Last Post: 15-Jul-2009, 05:46 AM
  2. Uploading Files
    By kendouglass in forum Features Questions
    Replies: 1
    Last Post: 17-Sep-2008, 05:43 AM
  3. Problem with uploading files - see error message
    By SLY in forum Community Support
    Replies: 0
    Last Post: 22-Dec-2007, 09:51 AM
  4. uploading file
    By Ibis in forum Features Questions
    Replies: 1
    Last Post: 19-Sep-2006, 09:57 PM
  5. Uploading files
    By russellr in forum HOWTO Guides and Tips
    Replies: 0
    Last Post: 31-Jul-2004, 08:42 PM

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
  •