I want the user to be able to enter their email address, name, and message in a form and after submitting it the next page gathers my email address from the db and sends me an email. The following form works but it would display my email address which I don't want.
I took out the action statement and made the page post to another page where....if all fields are filled I'd like for everything to be sent to me. Is there an easy way to do this? I've looked at other messages on this forum and I can't find anything I believe I need.
Thanks
Code:
<html>
<body>
<form action="MAILTO:me@myeamailaddress.com" method="post" enctype="text/plain">
Name:<br>
<input type="text" name="name"
value="your name" size="20">
<br>
Mail:<br>
<input type="text" name="mail"
value="your email" size="20">
<br>
Comment:<br>
<input type="text" name="comment"
value="message" size="40">
<br><br>
<input type="submit" value="Send">
<input type="reset" value="Reset">
</form>
</body>
</html>
I took out the action statement and made the page post to another page where....if all fields are filled I'd like for everything to be sent to me. Is there an easy way to do this? I've looked at other messages on this forum and I can't find anything I believe I need.
Thanks