Default Mail Client For Mac Osx

Active6 years, 5 months ago

I am new here. I have searched about default mail client information on mac os x.I found some help hereHow do I get the default mail client using applescript?But i did not got all the information i wanted.I got default mail client name but could not got its version that i see in 'About Mail' section of launched).

Email clients come in all shapes and sizes, but when it comes to the options available on the Mac, we feel that Airmail is the best email client for most people.

1171 gold badge2 silver badges13 bronze badges
Default Mail Client For Mac Osx

1 Answer

Default Mail Client Mac Os X

LaunchServices is the OS X API that contains info about the user's preferred applications.

Change Default Mail Client Mac Os X

The LSGetApplicationForURL() function will return the data you seek. Here's a short example of its use:

Install Default Mail Client

Mail Client For Mac Os X

On my system, that prints /Applications/ If you want more info about the returned item, you can use the LSCopyItemInfoForURL() function on mailAppURL.


Default Mail Client Windows 10

Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.

Default Email Client For Win 7

Not the answer you're looking for? Browse other questions tagged objective-ccmacossystem-information or ask your own question.