Skip to main content
Question

Determine the default mail application

  • December 8, 2009
  • 2 replies
  • 9 views

At my company, we allow employees to use Entourage or Mail.app. Ideally, down the road we want to target installs to users of Mail.app or Entourage. A good example is installing Symantec E-Vault Entourage client on Entourage users only.

I know you can set your default mail client through Mail.app, but there must be some plist or some other info I can poll to get what the user is using through Casper.

Anyone have a similar experience?

Thanks.

2 replies

talkingmoose
Forum|alt.badge.img+36
  • Community Manager
  • December 8, 2009

The default mail application will be set per user, so you'll need to look at
each user's home folder.

I suggest reading the LaunchServices database to determine the default mail
application set for the user. This string (one line):

defaults read ~/Library/Preferences/com.apple.LaunchServices | grep -B 1 mailto

returns this for me:

LSHandlerRoleAll = "com.microsoft.entourage"; LSHandlerURLScheme = mailto;

--

bill

William M. Smith, Technical Analyst
MCS IT
Merrill Communications, LLC
(651) 632-1492


Forum|alt.badge.img+31
  • Honored Contributor
  • December 8, 2009

Sounds like a great time and place for a dummy package.