Does anyone know if you can use AppleScript within Mail.app to remove messages from the server? I’ve looked at Mail’s dictionary and it doesn’t appear to have anything that would do it. Within Mail itself the only way to do it is to hit ‘Apple/Cmd - I’, select the messages you want deleted and then hit ‘Remove from Server’. You can do it in preferences but only by choosing to delete them either when they are moved from your ‘Inbox’ (too broad) or after a specific time period (not refined enough). I switch computers and locations several times a day, need to have all my (real) mail downloaded to each machine (and thus use POP mail) and it is a real pain to have to remove 40 some odd spam messages a day from each computer.
Any thoughts or help on the matter would be greatly appreciated!
John