Re: Moving & deleting a mailbox in Mail
Re: Moving & deleting a mailbox in Mail
- Subject: Re: Moving & deleting a mailbox in Mail
- From: Michelle Steiner <email@hidden>
- Date: Thu, 01 Aug 2013 13:07:15 -0700
On Aug 1, 2013, at 12:53 AM, John Mitchell < email@hidden> wrote: delete mailbox mailBoxName of mailbox oldCatName
and get an OS error of -10000
does anyone have a suggestion?
I think you have to specify the entire hierarch of mailboxes up to and including the account. (If the hierarchy is in "On My Mac", you don't have to specify it as the account."
Here's a simplified example:
tell application "Mail" activate make new mailbox with properties { name:"delete me"} at account " email@hidden" end tell
-- Michelle
-- The reason that so few people think outside the box is that all the pay and benefits are inside the box. |
_______________________________________________
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