none
Setting a Custom Email Application RRS feed

  • Question

  • I have users who access applications through remote desktop services.

    They would like functionality for, when they click on an email (mailto link) instead of opening Outlook it copies the email to the clipboard,

    Now I've written a simple c# program to copy the passed variable to the clipboard but how do I set it as a Default Mail application?

    I have tried on my development machine, changing the HKLM\Software\Client\Mail keys but I can't quite figure it out.

    Any advise would be much appreciated.

    Friday, October 16, 2020 11:45 AM

All replies

  • You may try to register your application as the mailto protocol handler. See Registering an Application to a URI Scheme for more information.

    profile for Eugene Astafiev at Stack Overflow, Q&A for professional and enthusiast programmers

    Saturday, October 17, 2020 8:33 PM
  • This was very helpful but seems to be for previous version of Windows. And doesn't seem to work on Windows 10.

    However it has lead me to this: 
    https://docs.microsoft.com/en-us/windows/uwp/launch-resume/handle-uri-activation

    I think I'll need to design the application to be a handler of the Mailto: URI in code. But not sure how to do this yet.

    Thursday, October 22, 2020 3:13 PM