Lion-Ready Junk Mail Reporting Scripts

After trying for a day to fix my Lion-broken scripts, I finally gave up and asked folks at Apple’s discussion forum about my problem, and the very first response by Pierre L. nailed it:

Try replacing this one line:

set content to thisMessage’s source

with these two lines:

set theSource to thisMessage’s source
set content to theSource

That worked like a champ.

Updated scripts are available: spam_uce_gov.scpt and spam_paypal_com.scpt. As always, these are provided for free and are unsupported, although I’ll try to help if I can.

[Update, 31 Oct 2011]: These scripts had an issue with background sending, as the accumulated emails would clog up. I got a great suggestion for a fix on the AppleScript forums at apple.com, and now things seem to be working. I’ve replaced the scripts above with the improved copies.

Running WordPress 3.0

I’ve upgraded this site to WordPress 3.0 as a pathfinder for a number of reasons, one of them being that I have a professional interest in doing so. This site is always my bleeding edge for WordPress upgrades—if it doesn’t break here, it typically won’t break elsewhere….

GFMorris.org Running WP 1.5

Yes, it’s been forever since I’ve written code. There’s many reasons for this. One has been dealing with the administrivia of dealing with a deluge of comment spam.

I’m now running WP 1.5 and hoping for some more inspiration in the code department. I’m sorely lacking…