Link to home
Create AccountLog in
Avatar of Ken H.
Ken H.

asked on

asp:Hyperlink using mailto:

I am trying to use the hyperlink control to perform mailto and with the code below it is not clickable, and using the target code in navigateurl opens a page that errors saying another version of outlook is currently running. I don't want a user to have to close outlook to use the mailto link ... thats absurd.

any help would be greatly appreciated:

        <asp:HyperLink ID="HyperLink1" runat="server" 
            Target="mailto:me@123.com?subject=My Subject" 
            ToolTip="mailto:me@123.com" 
            NavigateUrl="mailto:me@123.com?subject=My Subject">My Name.</asp:HyperLink>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of JustAndrei
JustAndrei
Flag of Belarus image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Ken H.
Ken H.

ASKER

So if I run outlook as administrator (set from the compatibility tab of outlook properties) mailto: works .... otherwise it fails.

Strange this is a brand new custom built pc with win7ent, vs2010, office 2010 and adobe ... thats it. I'm thinking this must be some weird default behavior .... now to figure out how to fix it.... this kind of crap is why i can never get anything done :p. Thanks for the perspective!