Re: Custom spam filter
Re: Custom spam filter
- Subject: Re: Custom spam filter
- From: kai <email@hidden>
- Date: Wed, 8 Nov 2006 00:03:02 +0000
On 7 Nov 2006, at 14:54, Edward K. Chew wrote:
There are certain types of spam that Mail can never seem to
identify, so I wrote a short script to be triggered by a rule. It
does a very good job of finding the junk that usually flies in
under the radar, but for some reason, I cannot seem to get it to
move the spam into the Junk mailbox.
At first, I thought it would be as simple as: move theMessage into
mailbox "Junk". That did absolutely nothing. Then I tried: set
junk mail status of theMessage to true. This seemed to do the
right thing, but only after I selected everything in the In box and
apply the rules manually. It would not process the messages out as
they were coming in.
Try something like this, Ted:
--------
tell msg (* or whatever variable you're using *)
set junk mail status to true
move to mailbox "junk" of its mailbox's account
end tell
--------
---
kai
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden