User Tools

Site Tools


unix:osx:automator_send_to_spam

This is an old revision of the document!


Spam reports via Automator/AppleScript

This is an Automator script to generate spam report emails utilizing some AppleScript code. Open it with Automator, change the recipient address, install it as a service, and set a keyboard short-cut (I use fn+ctl+alt+command+S).

send_to_spam_via_applescript.zip


previous/worse version

This is an Automator Service that sends the full source of a selected Mail message to the address of your choice (like spam@myISP.foo).

Open it in Automator, edit the recipient address in the new message step, then after saving, copy it to your ~/Library/Services folder.

Here is the file: Send to Spam

WARNING: Since this uses keyboard short-cuts for cut & paste, and relies on a previously selected message- there can be problems. I deleted all my messages with it once, so use with caution. The timing of the keyboard short-cuts (follow me's) seems to be key- the slower the better- so there's a 1 sec initial pause after selecting the messages.

To make the process less dangerous, I removed the message send and message deletion short-cuts at the end of the workflow. To re-instate them, simply run a “follow-me” for Shift+Command+D to send, and another for Command+Delete to delete the selected message.

unix/osx/automator_send_to_spam.1346922981.txt.gz · Last modified: 2012/09/06 05:16 by ben