On Jul 31, 2012, at 8:07 AM, Rob McBroom <mailingli...@skurfer.com> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to