Skip to main content
Question

Setting gmail as default mailto

  • April 22, 2014
  • 6 replies
  • 7 views

Forum|alt.badge.img+15

We used to use Google Notifier to set gmail as the default for all mailto links, but it has been discontinued. I've seen a few discussions regarding setting Outlook as the default mailto, but I'd like a way to push out a pref to use gmail in the browser.

With defaults read ~/Library/Preferences/com.apple.LaunchServices | grep -B 1 mailto I can see what the current default is, but am having trouble with the proper syntax to write a change. Has anyone done this?

-tep

6 replies

bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • April 22, 2014

have a look @ http://duti.org


mpermann
Forum|alt.badge.img+22
  • Valued Contributor
  • April 22, 2014

If you're using Firefox as your web browser, there is a setting in Firefox -> Preferences -> Application -> mailto that you can set to "Use Gmail". There is a customization app called CCK wizard https://addons.mozilla.org/firefox/addon/cck/ that you might be able to use to set it automatically.


Forum|alt.badge.img
  • New Contributor
  • April 22, 2014

In Terminal.app copy and paste the following, then hit enter (BTW, this should all be one line):
defaults write com.apple.LaunchServices.plist LSHandlers -array-add '{LSHandlerRoleAll=com.google.gmailnotifier;LSHandlerURLScheme=mailto;}';


Forum|alt.badge.img+8
  • Contributor
  • June 11, 2019

Now that Duti is gone is there an easy way to set the default mail handler via jamf from 10.12 - 10.14? It doesn't seem like the defaults command works anymore in my testing.


Forum|alt.badge.img+7
  • Contributor
  • February 18, 2020

I'd like to know this myself, how do we do this now?


markdmatthews
Forum|alt.badge.img+18

with Python 2.x being removed (and Python 3 no longer pre-installed) in macOS 12.3 or later I highly recommend using MailToOutlook 2.0 via: https://macadmins.software/tools/