Add mailto link to actionlink
How to add mailto link in MVC Html.Actionlink Helper?
@foreach (var item in Model) {
<tr>
<td>
@{ var email = "mailto:" + item.user.Firstname + "@testmail.org";}
@Html.ActionLink(item.user.Fullname, email)
</td>
only creates a link in the browser: http: // localhost: 53371 / Open / mailto% 3amail% 40testmail.org
+3
source to share
2 answers