• 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: Configuration setup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Configuration setup


  • Subject: Re: Configuration setup
  • From: Quinn <email@hidden>
  • Date: Wed, 20 Aug 2003 09:04:46 +0100

At 14:31 +0100 18/8/03, Mark Thomas wrote:
I was wondering if there is a nice way to configure accounts within the
mail program programmatically, like there is to configure the network, as I
would like to auto configure the mail program with a particular user.

AFAIK there's no actual framework to do this. However, Mail is scriptable, so you might be able to do it via an AppleScript (which you can run from within your application) or via the equivalent Apple events (which you can send directly). I have not seen this done, so YMMV.

Finally, if all else fails, it's probably not too hard to reverse engineer Mail's preferences format. Obviously this is not a supported solution (that is, future changes to Mail could break your code). If you do take this route, please make sure to file a bug describing what you did and why you had to do it, so that we can consider enhancing the system to add a supported solution for this.

S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

References: 
 >Configuration setup (From: Mark Thomas <email@hidden>)

  • Prev by Date: Re: Internet Config from a daemon
  • Next by Date: Re: TCP speed versus busy processes
  • Previous by thread: Configuration setup
  • Next by thread: Retrieving Adapter information
  • Index(es):
    • Date
    • Thread