Get Default Mail Client Name
I have been using the following code (suggested by someone on an MSDN forum) to determine if a default mail client has been configured:RegistryKey hkey = Registry.ClassesRoot.OpenSubKey( "mailto\\shell\\open\\command", false);hkey will be null if there is no such client.
I have been using the following code (suggested by someone on an MSDN forum) to determine if a default mail client has been configured:
RegistryKey hkey = Registry.ClassesRoot.OpenSubKey(
"mailto\\shell\\open\\command", false);
hkey
will be null
if there is no such client.