Help with th form submit button

Hi, Hope someone can help.

I am currently developing a website......I am having trouble with submitting the forms details to the requested email address.  This is an example of  code I am using:

<form name="form1" method="post" action="mailto:emailaddress@msn.com" enctype="text/plain">
 
<td width="237"><font size="2" face="Arial">Enter First Name:</font></td>
<td width="322"><font face="Arial">
<input type="text" name="first name">
<input name="submit" type="submit"  value="Send">
 <input type="reset" name="Submit2" value="Erase">
</form>

Why is this code not working properly.

When I click submit....I get a message box saying form is being submitted using email.  Submitting this form will reveal your email address to recepient and another message box when I click on the previous message box saying ' A program is trying to automatically send email on your behalf. Do you want to allow this'.

Is there a way of getting around not showing these message boxes.........or is there a better way I can send the information on the form.

Hope someone can help Thanks
dthomas31ukAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
COBOLdinosaurConnect With a Mentor Commented:
Those are normal security warning intended to let the user know what is going on because they expose themselves when they submit information that way.  The mailto:protocaol, is about the worse way in the world to do forms submission.  The right way to do handle forms is with server side scripts that process the form.  If you do not have server side scriping that you can access then mailto is an anternative, but the security warnings are part of it and we should all be glad they are there.

Cd&
0
 
dthomas31ukAuthor Commented:
Got you so when I get a web host sorted out for the website.  How do I sort out server side scripting????
0
 
COBOLdinosaurCommented:
Many host with server side scripting support, have a lot of standard scripting for forms handling they may do what you need or is easily customized.  Then you just change the action on the form to th name of the server side script and then it can put the information in a database, or email it to you, or both.

Cd&
0
All Courses

From novice to tech pro — start learning today.