0

I know this isn't the best way to process a form, but I'm tyring to get it emailed to an email address. For some reason, it's not coming through. I can't get CGI scripts working on my server right now. What is wrong with this code that it won't send:

<form id="trialSubscription" name="6monthTrial" method="post" action="mailto:kahaj@yahoo.com">
    First Name: <input type="text" size="30" name="First Name: " /><br />
	Last Name:  <input type="text" size="30" name="Last Name: " /><br /><br />
	Email Address: <input type="text" size="40" name="Email: " /><br /><br />
	Physical Address:<br />
	Street: <input type="text" size="40" name="Street: " /><br />
	City: <input type="text" size="25" name="City: "/><br />
	State: <input type="text" size="3" name="State: " />  Zip Code: <input type="text" size="7" name="State: " /><br /><br />
	
	<INPUT type="submit" name="SubmitIt" value="Subscribe">
<input type="reset" value="Clear All" />
3
Contributors
5
Replies
6
Views
9 Years
Discussion Span
Last Post by kahaj
0

No, that's just my copy & paste mistake. Sorry about that. I didn't copy the </form> tag, but it is actually there.

0

Don't do this. You are going to get hammered with spam. At least use javascript to mask your email address. You need some type of form processor on the server to validate and sanitize the mail. Your time will be much better spent figuring out whats wrong with the CGI or searching for other mail forms on the web, such as this one for php.

0

I'm getting ready to contact the hosting company. I wrote a nice little CGI script that should do quite well.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.