Outlook issue with HTML form

March 2017


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:ameen544@gmail.com" method="post" ectype="text/plain"> 

<h3>This form sends an e-mail to W3Schools.</h3> 
<input type="text" name="name" 
value="yourname" size="20"> 
<input type="text" name="mail" 
value="yourmail" size="20"> 
<input type="text" name="comment" 
value="yourcomment" size="40"> 
<input type="submit" value="Send"> 
<input type="reset" value="Reset"> 



Thanks to Ameen ASP.Net Boy for this tip on the forum.


Published by jak58.
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 (ccm.net).