To administer your WestHost account, please enter your
Domain Name or Server Manager Username.

WestHost: Professional Website Hosting Company








Results 1 to 9 of 9
  1. #1
    Junior Member
    Join Date
    Apr 2006
    Posts
    5

    Default Need Help with "Form Mail" (adding an attachment)

    Hello,

    I am trying to setup an online form that will allow for 2 attachments to be emailed along with the form. I am able to submit the form to a designated email address, but the attachments (photos or word docs) show up as text. Any help would be GREATLY apprecitated. I have been told that java script may need to be used, which I have no experience with. I have attached the current html code to the form below:

    <FORM METHOD=POST ACTION="http://jameakafranklin.com/cgi-bin/formmail/FormMail.pl">
    <input type=hidden name="recipient" value="info@asapmodels.com">
    <input type=hidden name="subject" value="New Talent Submission from Website">
    <input type=hidden name="redirect" value="http://www.asapmodels.com/asap_models_007.htm">
    <input type=hidden name="return_link_url" value="http://www.asapmodels.com/asap_models_007.htm">
    <input type=hidden name="return_link_title" value="Back to Main Page">
    Full Name:
    <input type="text" name="Full Name" value="" size="20">
    Phone:
    <input type="text" name="Phone" value="" size="20">
    Email:
    <input type="text" name="Email" value="" size="20">

    Upload Photos:
    <input type="file" name="a_file" size="20">

    Upload Resume:
    <input type="file" name="a_file" size="20">

    <input type="submit" value="Submit">

    THANK YOU!!!!
    Rob Padgett

  2. #2
    Moderator wildjokerdesign's Avatar
    Join Date
    Jun 2003
    Location
    Kansas City Mo
    Posts
    5,689

    Default

    Code:
    <FORM action="http://jameakafranklin.com/cgi-bin/formmail/FormMail.pl"
        enctype="multipart/form-data"
        method="post">
    You have left out the enctype="multipart/form-data". ... but I would look at useing something like TFMail instead of FormMail for this.
    Shawn
    Please remember your charity of choice: http://www.redcross.org

    Handy Links: wildjokerdesign.net | Plain Text Editors: EditPlus | Crimson

  3. #3
    Junior Member
    Join Date
    Apr 2006
    Posts
    5

    Smile Adding an attachment to Form Mail

    Hey,

    Thank you for your reply............

    I tried to replace the code with the code you suggested, but got the following error:

    Error: Bad/No Recipient
    There was no recipient or an invalid recipient specified in the data sent to FormMail. Please make sure you have filled in the recipient form field with an e-mail address that has been configured in @recipients. More information on filling in recipient form fields and variables can be found in the README file.

    Any suggestions? Again, thank you for your kind help.

    Rob Padgett

  4. #4
    Junior Member
    Join Date
    Apr 2006
    Posts
    5

    Default Adding an attachment to Form Mail

    ok.........I did get the form to submit, but it did not include the attachments....it just submitted the attachments as text:

    Below is the result of your feedback form. It was submitted by
    () on Friday, April 14, 2006 at 14:23:29
    ---------------------------------------------------------------------------

    Full Name: Rob Padgett

    Phone: 678-516-8879

    Email: padgett20@comcast.net

    Address1: 144 Ponce De Leon Ave. NE

    Address2: Address 2

    Nearest Major City: Atlanta

    State: State

    Zip: 30308

    Age: 30

    Gender: Male

    Height: 6'

    Weight: 165

    Foreign Languages You Speak Fluently: Spanish

    a_file: C:\Documents and Settings\sherry connors\Desktop\WEBSITES - Photos,
    etc\Rob Padgett Modeling\JPEGS for Photo Gallery\21.JPG, C:\Documents and
    Settings\sherry connors\Desktop\Rob's Personal Folder\Modeling and Acting
    Resume-Email.doc

  5. #5
    Moderator wildjokerdesign's Avatar
    Join Date
    Jun 2003
    Location
    Kansas City Mo
    Posts
    5,689

    Default

    Well I could not remember for sure when I first replied to your post but I checked MSA FormMail code and it does not support attachments. That is why you don't get anything.

    You will need to move to a different program like the TFMail I suggested.
    Shawn
    Please remember your charity of choice: http://www.redcross.org

    Handy Links: wildjokerdesign.net | Plain Text Editors: EditPlus | Crimson

  6. #6
    Junior Member
    Join Date
    Apr 2006
    Posts
    5

    Default

    Thank you again for your help. I have not heard of TFMail.

    Where and how to I go about getting this setup?

    Thanks,
    Rob

  7. #7
    Moderator wildjokerdesign's Avatar
    Join Date
    Jun 2003
    Location
    Kansas City Mo
    Posts
    5,689

    Default

    Quote Originally Posted by padgett20
    Thank you again for your help. I have not heard of TFMail.

    Where and how to I go about getting this setup?

    Thanks,
    Rob
    Hi Rob,
    The link is in my post above where I first mentioned it to you. If you go to that page it shows all the programs they over. Scroll down some and you will see TFMAIL which is an enhanced version of FormMail. Right below it is an Auto installer for it. I actually used that down load and it worked fine without any hitches on a WH VPS. It is simply one file that you upload and then run. There are instructions in the download zip file.

    Much of the documentation for the script is inside it as comments much like FormMail so you will have to get your hands a bit dirty. Once you get the hang of it. It is a breeze!
    Shawn
    Please remember your charity of choice: http://www.redcross.org

    Handy Links: wildjokerdesign.net | Plain Text Editors: EditPlus | Crimson

  8. #8
    Junior Member
    Join Date
    Apr 2006
    Posts
    5

    Default Looking for a professional to make mail form & upload box

    Hello,

    I'm Looking for a professional to make mail form & upload box.

    Please let me know if you are interested in the work. Please call and email me with examples of your work.

    Best Regards,
    Mark Schaefer midimark7@netscape.net
    562-365-1297


    Quote Originally Posted by wildjokerdesign
    Code:
    <FORM action="http://jameakafranklin.com/cgi-bin/formmail/FormMail.pl"
        enctype="multipart/form-data"
        method="post">
    You have left out the enctype="multipart/form-data". ... but I would look at useing something like TFMail instead of FormMail for this.

  9. #9
    Moderator wildjokerdesign's Avatar
    Join Date
    Jun 2003
    Location
    Kansas City Mo
    Posts
    5,689

    Default

    Hello Mark,
    I recieved your e-mail and replied to it.
    Shawn
    Please remember your charity of choice: http://www.redcross.org

    Handy Links: wildjokerdesign.net | Plain Text Editors: EditPlus | Crimson

Similar Threads

  1. Delete email with .pif attachment
    By andrew in forum E-mail / FTP Management
    Replies: 4
    Last Post: 12-15-2004, 06:04 PM

Posting Permissions

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