How to move messages in mail.app
How to move messages in mail.app
- Subject: How to move messages in mail.app
- From: Konrad Michels <email@hidden>
- Date: Tue, 26 Jan 2010 13:29:50 +0000
So here's the situation:
I have a really busy work inbox - its an <spit>Exchange</spit> server, but I am connecting to it via IMAP. I have some server-side rules which siphon off mail into various sub-folders, leaving only the important stuff in the Inbox. I also have two smart folders which are set to show messages older than 7 days, one of which acts on the Inbox itself, and the other on the busiest of my sub-folders.
What I'm trying to achieve with applescript is a script which I can run manually that will:
(a) Mark all unread messages in these mailboxen as read
(b) Move all messages in the specified sub-folders and the two smart mailboxes into the archive structure I've setup in the "On My Mac" tree, their final destination determined by the "Date Received" of each message.
My archive structure under "On My Mac" looks like this:
- archive
+2008
+200801
+200802
+ ...
+2009
+200901
+200902
+ ...
+2010
+201001
I'm not much of an applescripter, and while I really have tried to see if I can do this by modifying the pitifully few mail.app applescripts already out there, all of them would require modification beyond what I seem to be capable of. One of the biggest shortcomings of most of the scripts seems to be that they all want you to select the mails you want to move first and then trigger the script, which, while clever, still requires me to go through each subfolder individually and block select the mails, which is a right PITA.
I would really appreciate any pointers in the direction of either already extant applescript doing something close to what I am doing that I can attempt to modify or some guidance and examples.
Many thanks
Konrad _______________________________________________
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