Skip to main content
Question

Setting Chrome mailto handler via Configuration profile


Forum|alt.badge.img+3

Hi
I'm trying to set the default mailto handler of Google Chrome to Gmail, so far completely unsuccessful.
Any hints on what I may be doing wrong.
Settings: {RegisteredProtocolHandlers=[{default=true, protocol=mailto, url=https://mail.google.com/mail/?extsrc=mailto&url=%s}]}

6 replies

cdev
Forum|alt.badge.img+14
  • Contributor
  • 135 replies
  • August 20, 2020

Based on what I'm seeing in the Google Documentation, it looks like any user can override this "recommended" setting. I suspect any registration of a mailto handler at the OS-level overrides this setting (setting the default mail program). Some tools like duti can set the default mailto handler for a user at the OS-level and may be closer to what you're looking for.


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • 6 replies
  • August 20, 2020

I tried that as well, that will let me select Chrome as the default mail client, which is fine, but it does not "start" a new email when clicking a mailto link


Forum|alt.badge.img+13
  • Contributor
  • 146 replies
  • August 20, 2020

It seems like Google doesn't support this being set as a policy anymore, if they ever did. If you go to chrome://policy/ after applying the setting you'll see a 'not supported' warning for that preference.


talkingmoose
Forum|alt.badge.img+36
  • Community Manager
  • 1901 replies
  • August 20, 2020

Gmail is not an application. It's a web service you access through a web browser. The macOS Finder, which handles the associations between things like mailto links and mail apps like Apple's Mail or Microsoft Outlook, won't recognize Google Chrome (a browser) as "Gmail" (a web service).

Years ago, I believe Google or a third party provided an app that could act as a go-between to let you specify Gmail as your "mail app", but I think that project end-of-lifed.


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • 6 replies
  • August 20, 2020

Hmm strange, I see the "not supported" thing.
But according to the docs it should be possible, wonder how it's done.
https://cloud.google.com/docs/chrome-enterprise/policies/?policy=RegisteredProtocolHandlers


talkingmoose
Forum|alt.badge.img+36
  • Community Manager
  • 1901 replies
  • August 21, 2020

@henrik.schack I experimented with the policy example Google provided on that page but couldn't get Chrome to honor that setting.

However, I did find several "mailto" extensions for Chrome and this one seemed to work well:

https://chrome.google.com/webstore/detail/mailto-for-gmail/dgkkmcknielgdhebimdnfahpipajcpjn

You can use a Jamf manifest in a configuration profile to install this extension. I have instructions here.

Keep in mind this will only work when clicking mailto links in Google Chrome. But maybe that's good enough.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings