Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'An AppleScript to forward spam to the FTC via Mail' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
An AppleScript to forward spam to the FTC via Mail
Authored by: macdesktops on Feb 17, '09 01:23:08PM

This script worked beautifully under 10.4.11. Unfortunately, I upgraded to 10.5.6 last week and now Mail keeps undeleting my junk messages so they get resent the next time I run the script. That is to say that when I run the script, each message gets forwarded appropriately and moved to the Trash. But when I look in Junk after the script completes, the messages reload into Junk.

Has anyone found an AppleScript command to Mailbox>Erase Junk Mail or even to Mailbox>Erase Deleted Messages? I've looked but don't see one.

I tried adding delete messages in trash mailbox with junk mail status to the end of the script, but similar behavior occurs there. The message count in Trash goes down, but when I look in Trash, the messages reappear.



[ Reply to This | # ]