Solved

Silverlight <Hyperlink> mailto:

Posted on 2013-06-18
1
999 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now