|
|
Applescript to delete Spam
Just a couple days ago, I wrote my very first Applescript just to empty spam mailboxes. Besides using SpamSieve, I also use SpamAssasin on the server (and IMAP accounts), so all my "Spam" folders quickly get filled up with junk. My script checks for messages on every "SPAM" mailbox" of every account and deletes them. Then checks for messages on the "Spam" mailbox "In my Mac" and deletes them. Lastly, it empties the Trash by performing the keyboard shortcut (I searched the whole Mail dictionary and couldn't find an "empty trash" command). I'm sure the code could be greatly improved, so I welcome your suggestions!
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.19 seconds |
|