MailTo Links Not Working Correctly

Backstory

Once upon a time there was a person named Jeremy. He used Google Chrome as a browser. He was very happy. One day Jeremy clicked on a mailto: link. Some program (Google Chrome or Windows) helpfully asked how it could handle that action. Jeremy, who hates modal windows and was not paying attention, hastily clicked on the first thing that looked like it would close the modal. He soon found that his hasty actions lead to a larger problem. Now, mailto: links did not do anything when clicked on within Google Chrome.

Present Day

(Spoiler: Jeremy is me.)
Today I got fed up with mailto: links not working as they should in Google Chrome. So I went looking for a solution. I found several different potential solutions. My goal was to get mailto: links to open in Mozilla Thunderbird.

  1. Remove the mailto: handler from chrome://settings/handlers.

    I tried this, unfortunately there were no handlers listed under: chrome://settings/handlers.

  2. Register a new setting with registerProtocolHandler

    I stumbled upon this Paul Irish post. However, it seemed hacky to use a handler to open Thunderbird.

  3. Finally

    I decided to take a look at my Windows settings. I’m using Windows 10 so I brought up the Start Menu and searched for “Default Programs”. I found Control Panel\Programs\Default Programs. From there I saw an option to “Associate a file type or protocol with a specific program”. This led me to Control Panel\Programs\Default Programs\Set Associations which displays a LONG list of associations, and unfortunately no intuitive way to search through them. So I scrolled and scrolled and eventually found an option named “MAILTO”.

Mail To Default Association
The Current Default is now Thunderbird

Lo and behold the Current Default for this option was set to “Google Chrome”. That looked suspicious. So… I changed the Current Default to “Thunderbird”. Saved the setting, restarted Google Chrome, and BOOM, mailto: links started working correctly.

4 thoughts on “MailTo Links Not Working Correctly”

  1. Thanks Jeremy – after looking at several other “solutions” yours is the first correct one that works and makes sense to me. One glitch I found in Windows 10: when changing the default app – it did not appear to change, but after exiting settings and re-entering, the change appeared to have become effective and, lo and behold, mailto links in Chrome worked as they should. Most helpful.

  2. I noticed when I removed Google Chrome from MailTo and chose something else the Contact MailTo links would work. I really wanted to use Gmail so I got the ‘EasyMail for Gmail’ app from ‘look for an app in store’ and now the MailTo html links all work. Thanks for your simple advice I stands to reason that one should try another format.

Leave a Reply

Your email address will not be published. Required fields are marked *