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 ?
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.
<form action="MAILTO:firstname.lastname@example.org" method="post" ectype="text/plain">
<h3>This form sends an e-mail to W3Schools.</h3>
<input type="text" name="name"
<input type="text" name="mail"
<input type="text" name="comment"
<input type="submit" value="Send">
<input type="reset" value="Reset">
Thanks to Ameen ASP.Net Boy
for this tip on the forum.
This document, titled « Outlook issue with HTML form », is available under the Creative Commons
license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM