Determine the default mail application

Not applicable

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 2

talkingmoose
Moderator
Moderator

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

tlarkin
Honored Contributor

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