Re: Apple Mail 3.5: Changing Mail Server Settings
Re: Apple Mail 3.5: Changing Mail Server Settings
- Subject: Re: Apple Mail 3.5: Changing Mail Server Settings
- From: Aaron Wyatt <email@hidden>
- Date: Thu, 23 Apr 2009 09:50:58 -0400
John-On Apr 23, 2009, at 7:18 AM, John C. Welch wrote: From what I can tell, the problem is "accounts" is really just a base class,
and not one you should be using directly. Instead of dealing with "accounts" try working with imap account or pop account for incoming, and smtp server for outgoing. When we create accounts, it's "make new imap account..." and "make new smtp server...", so I imagine you might have to change it that way as well. -- Cum catapultae proscriptae erunt tum soli proscript catapultas habebunt. (When catapults are outlawed, only outlaws will have catapults.) Jeff La Grua
Thanks for the tip! It works:
--start script tell application "Mail" repeat with eachAccount in imap accounts set server name of eachAccount to " test.domain.edu" end repeat end tell --end script
I owe you a burrito.
Thanks again, aaron |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden