I have an asp.net mvc4 application, in which I have this view:
<form action ="\Home\Index" method="post" >
<input type="submit" name="mail" value="launch mail" />
</form>
and in the controller:
public ActionResult Index()
{
return View();
}
I'd like to launch the default mailing software on the pc (i.e outlook, thunderbird, etc.) when I click the submit button.
So how can I modify the action in the controller to automatically launch the mailing software?