Posted on 04-22-2014 10:47 AM
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
Posted on 04-22-2014 12:39 PM
have a look @ http://duti.org
Posted on 04-22-2014 01:25 PM
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.
Posted on 04-22-2014 02:21 PM
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;}';
Posted on 06-11-2019 05:52 AM
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.
Posted on 02-18-2020 06:27 AM
I'd like to know this myself, how do we do this now?
Posted on 03-17-2022 10:04 AM
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/