When my application starts, I want to know if Outlook is installed and whether it is the default email client.
For installation, I just check the registry key, but how do I know if it is the default email client?
According to this link
Regarding which of the registered email applications is standard, the same link says that:
HKEY_CURRENT_USER\SOFTWARE\Clients\Mail\(default)
will provide you with the default email application for the current user (if installed), and
HKEY_LOCAL_SOFTWARE\SOFTWARE\Clients\Mail\(default)
provides you with a system-wide.
The link also states that it is not the same as the mail client registered as the Start mail application, as the default mail client for the system or the registered mailto handler (which seems a bit odd imho).
The information in this link applies to XP, Vista, and Win 7.
NTN
Installed email clients are listed in
HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail
The default string value of this key contains the currently selected default email client, in our case Microsoft Outlook
Microsoft Outlook
HKEY_CLASSES_ROOT \ MAILTO \ shell \ open
Source: https://habr.com/ru/post/1435228/More articles:Erlang: remote calling and sending messages - erlangcorreId and time queues in the RPC - AMQP - rpc modelJson.Net serialization (JsonConverter.WriteJson) - jsonHow to create an alarm to detect limits DynamoDb reached a certain percentage, and then increase it - amazon-dynamodbHow can I reference WriteJson recursively? - serializationFacebook Graph API gives different results for different values ββfor the limit parameter - facebooklog syntax errors and uncaught exceptions for python subprocess and print them on terminal - pythoncollect2: Ld returned 1 exit status build make a mistake - c ++No images in TListview header when using VCL Styles - delphiIs there a list containing the most famous dangerous user inputs? PHP / MySQL - securityAll Articles