My form won't submit the info in email

Discussion in 'HTML & Website Design' started by lithman, Aug 13, 2007.

  1. #1
    I'm trying to create a form on my website, so when someone fills in the info and clicks submit, it will email me all their info. Here is the form code I have so far.

    
    <form METHOD="POST" ACTION="mailto:my@email.com">
    				<TABLE border=0 cellpadding=0 cellspacing=0 width=350>
    				<tr>
    				<td>
    First name*: </td>
    <td>
    <input type="text" name="firstname" size="20" maxlength="50"></td>
    </tr>
    <tr>
    <td>
    Middle Name/Initial: </td>
    <td>
    <input type="text" name="middlename" size="20" maxlength="50">
    </td>
    </tr>
    <tr>
    <td>
    Last name*: 
    </td>
    <td>
    <input type="text" name="lastname" size="20" maxlength="50"></td>
    </tr>
    <tr>
    <td>
    Company*: </td>
    <td>
    <input type="text" name="company" size="20" maxlength="50"></td>
    </tr>
    <tr>
    <td>
    Title: </td>
    <td>
    <input type="text" name="title" size="20" maxlength="50"></td>
    </tr>
    <tr>
    <td>
    Mailing Address*: </td>
    <td>
    <input type="text" name="mailing" size="20" maxlength="50"></td>
    </tr>
    <tr>
    <td>
    Mailing Address Line 2: </td>
    <td>
    <input type="text" name="mailing2" size="20" maxlength="50"></td>
    </tr>
    <tr>
    <td>
    City*: </td>
    <td>
    <input type="text" name="city" size="20" maxlength="50"></td>
    </tr>
    <tr>
    <td>
    State*: </td>
    <td>
    <input type="text" name="state" size="20" maxlength="50"></td>
    </tr>
    <tr>
    <td>
    County*: </td>
    <td>
    <input type="text" name="country" size="20" maxlength="50"></td>
    </tr>
    <tr>
    <td>
    Zip Code / Postal Code*: </td>
    <td>
    <input type="text" name="zip" size="20" maxlength="50"></td>
    </tr>
    <tr>
    <td>
    Telephone (w/ Area Code)*: </td>
    <td>
    <input type="text" name="telephone" size="20" maxlength="50"></td>
    </tr>
    <tr>
    <td>
    Fax: </td>
    <td>
    <input type="text" name="fax" size="20" maxlength="50"></td>
    </tr>
    <tr>
    <td>
    Email Address*: </td>
    <td>
    <input type="text" name="email" size="20" maxlength="50"></td>
    </tr>
    </table>
    <br>
    <input type="submit" value="Send">  <INPUT TYPE="reset">
    </form>
    
    Code (markup):
    However, when I test it by pushing send... I get an error message that reads "Error processing command line arguements."

    What does this mean? Is there a way around it?
     
    lithman, Aug 13, 2007 IP
  2. Webray

    Webray Active Member

    Messages:
    469
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #2
    Webray, Aug 13, 2007 IP
  3. jakomo

    jakomo Well-Known Member

    Messages:
    4,262
    Likes Received:
    82
    Best Answers:
    0
    Trophy Points:
    138
    #3
    Hello,
    Nope, that is not correct.

    You should use any cgi, or create it with PHP search on google php form email. Is really easy :)

    Best,
    Jakomo
     
    jakomo, Aug 13, 2007 IP
  4. bscdesign.com

    bscdesign.com Active Member

    Messages:
    681
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    58
    #4
    bscdesign.com, Aug 13, 2007 IP
  5. lithman

    lithman Well-Known Member

    Messages:
    1,189
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    130
    #5
    I used this php form: http://php.about.com/od/advancedphp/ss/mail.htm

    I filled out the form and pushed submit. I got the 'your email was successful screen'.

    So I go to check my email and the subject line says (invalid MX) and the body of the email is empty. Nothing from the form was sent.

    Any ideas?
     
    lithman, Aug 14, 2007 IP