<html><body><form action="MAILTO:someone@w3schools.com" method="post" enctype="text/plain"><h3>This form sends an e-mail to W3Schools.</h3>Name:<br><input type="text" name="name"value="yourname" size="20"><br>Mail:<br><input type="text" name="mail"value="yourmail" size="20"><br>Comment:<br><input type="text" name="comment"value="yourcomment" size="40"><br><br><input type="submit" value="Send"><input type="reset" value="Reset"></form></body></html>
This form??? It sends an email to "someone@w3schools.com". If you change the address to reflect your owm email address, or your friend's address, the form will appear in your emails.Please note that there is no validating of the user input and therefore, no security in this form. I would suggest you search the net for a more secure email form. This form is okay as a Tutorial form, but it isn't as secure as you need it to be on the 'live' web.