![]() ![]() If unread messages shouldn't be moved, change the end of the variable definition to read "is less than oldsentdate and read status is true) ![]() #Identify messages that need to be moved. on archive_email(target_account, target_mailbox, destination_account, destination_mailbox, oldemaildate) I can sort the "Inbox" and archive mail from there quite easily. I think I'm just having an evaluation problem. It is a tad annoying that Mail doesn't see "On My Mac" as a local account, so you need to adjust the code to blindly reference mailbox names. I'm not a fan of the way Apple handles mail archiving, so I dug into a few examples that others had written to sort mail and slapped a short script together to filter through my email and archive everything older than 90 days. So, I finally got tired of manually sorting and archiving email on my Mac to get around some archaic mailbox size limits. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |