Search code examples
asp.net-mvc-4mailto

Where is @Html.MailTo in MVC 4?


I read on many forums suggesting to use @Html.MailTo to send emails using local client (i.e similar to "mailto:" in anchor.

But when I try doing that, I simply dont find "MailTo" option in intellisense... Am I missing something, or if its obsolete now, or if its a customer HtmlHelper?


Solution

  • @Html.Mailto is one of the Features of ASP.NET MVC 3 Futures. ASP.NET MVC 3 Futures includes a bunch of features which may become the part of ASP.NET MVC in future.

    Inorder to use it you need to download it from codeplex

    You can check all the features in Imran Baloch's Blog Post

    Hope it helps.