moritzz Posted December 2, 2018 Share Posted December 2, 2018 (edited) Hi folks Based on the @svv07's AppleScript code, I wrote and AppleScript application (Applet) that helps you to report spam to SpamCop through Apple Mail. Note these instructions when using it: Because I check my Mail regularly on an iPad or iPhone where AppleScript is not available, I switched the AppleScript from fetching e-mail messages from Mail's spam folder. Therefore you can safely mark your messages as spam in Apple Mail for iOS and process it, as soon as you returned to your Mac. For the AppleScript to not report already reported spam, it won't process any messages in your spam folder, that matches one of these criteria: The message's subject starts with `[spam]`. The message is flagged. (See below.) I introduced some cleverness to set the Reporting Address even when the AppleScript is run as an AppleScript App (Applet). It will ask for your SpamCop Reporting Address on its first launch automatically and offer an option to save your Reporting Address for later runs. You can reset the Reporting Address by holding down the option key while starting up the Applet. My AppleScript is capable to automatically send the reporting e-mail after it fetched and processed all spam. For the AppleScript to not report spam twice, it flags all processed messages in your spam folder. So, folks, attached is the code and the said Applet; either download and run the Applet directly or open the source code file with `scri_pt Editor` on your Mac and save it as an Application to your Desktop or wherever you like. Have fun – and keep reporting spam, yours sincerely, Moritz Report to SpamCop.zip Edited December 2, 2018 by moritzz Copy Editing Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.