Pretty straightforward, I ripped off the Alloy MVC demo and either one of these
@Html.UrlLink(new EPiServer.Url("mailto:adress@host.se"))
<a href="@Url.ContentUrl(new EPiServer.Url("mailto:adress@host.se"))">Send email</a>
Renders an anchor tag with href="mailto::25//adress@host.se:25". If I try anything other than mailto, for instance
@Html.UrlLink(new EPiServer.Url("mailltoo:adress@host.se"))
Then it renders correctly. Sadly my browser does not understand what "mailltoo" means. Email adresses in EPiServer.SpecializedProperties.LinkItems work fine, but all I have is this Url. How do I wrangle a clean href string out of it, regardless of what the target might be?