Setting IMAP server in Mail does not stick...
Setting IMAP server in Mail does not stick...
- Subject: Setting IMAP server in Mail does not stick...
- From: RJH <email@hidden>
- Date: Wed, 22 Apr 2009 15:23:20 -0400
So I'm trying to write a script which will change the IMAP server that an account points to.
So here it is.
tell application "Mail"
repeat with eachAccount in accounts
display dialog (user name of eachAccount) as text set whichaccount to the user name of eachAccount as text
set whichaccount to the user name of eachAccount as text
if whichaccount = "thatuser" then
display dialog (server name of eachAccount) as text set server name of eachAccount to "test.bc.edu" end if
Trouble is is when I restart mail it is back to the original setting. What am I missing here?
Thanks Robert
------------ RJH Web Consulting Email: freelance at bostonmacosx dot dyndns dot org
Services: Internet Service Management Website Maintenance and Management
General Consulting Services
Full Web Application Development
------------
|
_______________________________________________
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