• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Custom spam filter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Custom spam filter
      • From: "Edward K. Chew" <email@hidden>
References: 
 >Custom spam filter (From: "Edward K. Chew" <email@hidden>)

  • Prev by Date: Re: Quark non-breaking spaces
  • Next by Date: Toast
  • Previous by thread: Custom spam filter
  • Next by thread: Re: Custom spam filter
  • Index(es):
    • Date
    • Thread