Google Chrome must first be installed & Set to be the Default Mail Handler
When you click on an email link in a Web page or email message, your computer will open a new compose window with the email address in the To: line. The program used to compose the message is determined by the Default Mail Handler for your computer.
You can set Google Chrome to be the default mail handler in a couple ways.
From Your Address Bar
When you first log in to your Google Mail Account, you’ll see a double-diamond icon in your address bar:
Clicking this icon opens a Menu with three choices for what the default mail handler should be. Select "Allow" if you want Google Chrome to be your default email handler.
From Google Chrome Settings
If you don’t see the double-diamond icon in your Address bar, you can set the default mail handler in your Google Chrome settings.
- From the menu in Chrome, choose Settings (or Preferences, depending on your operating system).
- At the bottom of the Settings page, click Show advanced settings.
- In the Privacy & Security section, click Site settings. A new window opens.
- In the Handlers section, click Handlers. The Protocol handlers window opens.
- You want to set mail.google.com as the Default.
* Additional Notes:
We have had issues when customers have loaded the “mailto” feature for Gmail and through the course of operation, it either stops working or the handler is gone. Attached is the java script to add the “mailto” icon back to the Gmail address bar so the handler can be reinstalled and a “mailto” protocol can be selected in the Handlers settings location of Chrome.
To Add Google mail handler icon back to Google chrome ribbon:
If you use Gmail you may become frustrated when you click a
mailto: link by accident and now your desktop client of Outlook or Mail starts up. Thanks to
navigator.registerProtocolHandler() (which we've covered here before) you can wire up Gmail as your default mail client for all
mailto: links in Chrome and Firefox.
- First, open up a Gmail tab. You must do this from the Gmail tab, not your html5rocks one. :)
navigator.registerProtocolHandler("mailto", "https://mail.google.com/mail/?extsrc=mailto&url=%s", "Gmail");
- Accept the confirmation from the browser.
- Click this mailto: link to test out your new Gmail mailto hookup!
If you ever need to removing this setting, you can do that at
chrome://settings/handlersin Chrome andPreferences->Applications->mailto in Firefox.