Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 140
  • Last Modified:

E-mail forms

I would like to know to put an e-mail option in a form so that when a button is pressed, the e-mail is sent to the adminstrator.
0
jom02
Asked:
jom02
1 Solution
 
joe851Commented:
<html>
<body>
<form action="MAILTO:someone@someplace.com" method="post" enctype="text/plain">

<h3>This form generates a e-mail to be sent.</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>
-----------------------------------------------------------
The above program should help.
0
 
jom02Author Commented:
thank you it works and I'm grateful...
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now