• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: reading preferences from com.apple.mail under 10.8
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: reading preferences from com.apple.mail under 10.8


  • Subject: Re: reading preferences from com.apple.mail under 10.8
  • From: "Reimers, Gabriel" <email@hidden>
  • Date: Thu, 02 Aug 2012 06:44:48 +0000
  • Thread-topic: reading preferences from com.apple.mail under 10.8

In Mountain Lion Mail is a sandboxed app. Therefore it now stores it's
preferences in ~/Library/Containers/com.apple.mail/Data/Library/Preferences

Gabriel


On 02.08.12 07:44, "email@hidden"
<email@hidden> wrote:

>On Jul 31, 2012, at 8:07 AM, Rob McBroom <email@hidden> wrote:
>
>>Hello. I¹m trying to read Mail¹s preferences to find a suitable SMTP
>>server so users don¹t have to re-enter such configuration details. It
>>seems to have stopped working and I can¹t find a [documented] reason.
>
>Probably Mail changed where it stores that pref. It might be under a
>different key, or it might be stored in another domain entirely.
>
>App defaults keys are not public, so you're relying on undocumented
>internal behavior of Mail, that could (and did!) change at any time.
>
>A more supported way to get that info might be to query Mail's scripting
>interface using an AppleScript or the scripting bridge API.
>
>‹Jens


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Prev by Date: Re: containerURLForSecurityApplicationGroupIdentifier
  • Next by Date: Saving image to disk in HiDPI / Retina MacBook
  • Previous by thread: Re: reading preferences from com.apple.mail under 10.8
  • Next by thread: guidelines for icon design, that works well with Apple standard highlighting scheme
  • Index(es):
    • Date
    • Thread