Outlook issue with HTML form
Issue
I have a small website with a very simple HTML form that allows user to send his data; then the webmaster receives an email with the data included in the form.
My problem is that, when ever Outlook is set up on a machine, the email button open Outlook automatically.
Is there a way to just have the form send without opening Outlook ?
Solution
It opens outlook for me. I would like to send the email without disturbing the outlook as u said may be PHP script or ASP script... am not sure how it works in HTML can you please help me with that.
<html>
<body>
<form action="MAILTO:ameen544@gmail.com" method="post" ectype="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>
Note
Thanks to
Ameen ASP.Net Boy for this tip on the forum.