Solved

Silverlight <Hyperlink> mailto:

Posted on 2013-06-18
1
1,022 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 500 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

730 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