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?
ACTION="mailto:my@email.com" That won't work. Take a look at this: http://www.weberdev.com/get_example-1633.html
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
I have a script that does this very nicely. I can also install it for you. Here is the info page http://www.cgiwebtools.com/products/1-sendmail.html
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?