Re: Organizing mail into mail folders with Applescript?
Re: Organizing mail into mail folders with Applescript?
- Subject: Re: Organizing mail into mail folders with Applescript?
- From: Robert Nicholson <email@hidden>
- Date: Sat, 23 Jan 2010 11:54:54 -0600
This seems to be getting the job done now. Using "try on error" to test if the folder exists is a much slower operation so using "exists" is a better way to do that.
On Jan 23, 2010, at 5:46 AM, Emmanuel LEVY wrote:
> We do things like you say on a regular basis: processing hundreds of mails and moving them appropriately depending on some condition, creating folders when necessary. Moving an email is just setting its "mailbox" property.
>
> Emmanuel
>
> On Jan 23, 2010, at 1:55 AM, Robert Nicholson wrote:
>
>> Assume you have email for various mailing lists over many years.
>>
>> Is there a way in Applescript to traverse the messages, creating the necessary folders and moving the messages into their appropriate folder based on the year they were sent.
>>
>> sounds like a doable tasks assuming Mail.app's applescript dictionary allows you to reliably moving batches of emails from one folder to another and lazily create new folders.
>>
>> anybody done anything like this before?
>>
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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
_______________________________________________
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