LKBEN10605: Howto change the Mailto on a windows system


This article has not been checked!

LKB | Created: 02/04/2020 | Version: 0 | Language: EN | Rating: 0 | Outdated: False | Marked for deletion: False

Author: Wim Peeters - Keskon GmbH & Co. KG


Symptom

The mail program you use does not open when you click on a mail address in your browser

Cause

Wrong configuration of the mailto parameter in the registry

Solution

To change the mailclient you prefer, you have to set a parameter in the registy. This parameter is of type REG_EXPAND_SZ which means that you cannot easily read it after an export.
You open the registry and navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Classes\mailto\shell\open\command and correct the setting to the one you want. e.g. "c:\programme\mutt\mutt.exe" %1

When you export this it looks like:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\mailto\shell\open\command]
@=hex(2):22,00,63,00,3a,00,5c,00,70,00,72,00,6f,00,67,00,72,00,61,00,6d,00,6d,\
  00,65,00,5c,00,6d,00,75,00,74,00,74,00,5c,00,6d,00,75,00,74,00,74,00,2e,00,\
  65,00,78,00,65,00,22,00,20,00,25,00,31,00,00,00

About the Author

Wim Peeters is electronics engineer with an additional master in IT and over 30 years of experience including time spent in support, development, consulting, training and database administration. Wim has worked with SQL Server since version 6.5. He has developed in C/C++, Java and C# on Windows and Linux in different European countries and different European languages. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform where he is one of the most important contributors and the main developer.

Disclaimer:

The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!