?
Solved

Silverlight <Hyperlink> mailto:

Posted on 2013-06-18
1
Medium Priority
?
1,060 Views
Last Modified: 2013-07-07
I have a Silverlight application & Website created using visual studio 2010.

I want to open outlook when I click the hyperlinkbutton in my application.  

When I click allow button its opening a new browser window (IE 10 ) and then Opens Outlook.
<HyperlinkButton HorizontalAlignment="Left"  NavigateUri="mailto:abc@xyz.com" >

but in that new browser window it gives error message -  
Navigation to the webpage was canceled  

I  also checked with TargetName= "_self" , _blank; but still i am getting the same error
 
I tried using the answer suggestedin http://www.experts-exchange.com/Microsoft/Development/Microsoft_Programming/WPF_and_Silverlight/Q_27023697.html 

It does work for me, but I cannot go to each user's machine and open msconfig.exe and make changes as mentioned in that site ....

My only aim is to open outlook/default email from my silverlight page , put send email to:
abc@xyz.com and put something in subject of that email...

What should I do... please help... thanks a lot
0
Comment
Question by:at999
1 Comment
 
LVL 76

Accepted Solution

by:
David Lee earned 2000 total points
ID: 39258182
Hi, at999.

I'll start by saying that I know nothing about Silverlight.  That said, a mailto link should create a new email using the default email client on the computer the ink is invoked on.  For example, open IE and enter "mailto:abc@xyz.com?subject=Testing" (without the quotes) in the address line.  If Outlook is your default email client, then the result should be a new Outlook email addressed to abc@xyz.com with a subject of "testing".  If the UAC asks you if you want to allow the web page to perform the action, then uncheck the box that tells IE to perform the check every time.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question