How can I use mailto in a MVC Html.ActionLink?

Html. ActionLink is meant to do just that, render a link to an action method URL; a mailto: link is a special case, a pseudo-protocol which is acted upon by the client's browser.

Up vote 0 down vote favorite share g+ share fb share tw.

I am currently moving a site over to MVC with great success, but I have a couple of pages which have a mailto link on them. Is there a way to get this to work with Html. ActionLink?

Asp. Net-mvc-2 mailto link|improve this question asked Nov 25 '10 at 15:53Neil Knight14.8k42064 100% accept rate.

Html. ActionLink is meant to do just that, render a link to an action method URL; a mailto: link is a special case, a pseudo-protocol which is acted upon by the client's browser. Just use a straight HTML anchor tag in your view, there's nothing wrong with doing that.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions