I would like to register my program to handle the MAILTO protocol
i have seen these answers
- How to register custom program to handle mailto protocol on Windows 7
- Register Windows program with the mailto protocol programmatically
i tried adding a new key or modifying the existing key at this path
HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\URLAssociations\MAILTO\Userchoice
additionally, i added my program to to the HKCR root, but that did not make my program appear in the select list
also, for testing purposes, i tried replacing the classname value of the mailto key at this path
HKEY_CURRENT_USER\SOFTWARE\Clients\StartMenuInternet\GoogleChrome\Capabilities\
URLAssociations to the classname of my program. this actually worked. but instead of hacking into google chrome, id rather add my own registry key
how can i add my program as a legit handler for mailto
TIA