What happens is entirely up to the customer. The OS defines protocol handlers for protocols such as mailto:
or tel:
etc.
You will need access to the client registry (in the case of the Windows system) in order to manipulate the processing application for your protocol handler.
For Outlook 2013 as an assigned handler, the corresponding registry structure is as follows:
[HKEY_CLASSES_ROOT\mailto] @="URL:mailto" "EditFlags"=hex:02,00,00,00 "URL Protocol"="" [HKEY_CLASSES_ROOT\mailto\DefaultIcon] @="C:\\PROGRA~2\\MICROS~1\\Office15\\OUTLOOK.EXE,-9403" [HKEY_CLASSES_ROOT\mailto\shell] @="open" [HKEY_CLASSES_ROOT\mailto\shell\open] [HKEY_CLASSES_ROOT\mailto\shell\open\command] @="\"C:\\PROGRA~2\\MICROS~1\\Office15\\OUTLOOK.EXE\" -c IPM.Note /mailto \"%1\""
with the corresponding structure at HKCU.
source share