PowerMail Engineering <[EMAIL PROTECTED]> wrote:

> (...)
> If you want to have different actions for messages marked with a very
> high spam level, you can write an AppleScript for this:
> 
> tell application "PowerMail"
>     set theMessages to current messages
>     repeat with msg in theMessages
>         if spam rating of msg > 90 then set filter criterion result to true
>     end repeat
> end tell
> 
> Then use this AppleScript as the filter condition.

OK, I tried this and it performs very well, e. g. displacing the worst
spams to a different folder. I called it 'true when spam>90' and I use
it as a filter condition.

Now, I'd like to delete them immediately (without confirmation).

I tried to adapt the 'delete messages immediately' script by just
removing the warning, and set a filter like this:

condition: applescript: 'true when spam > 90'
action: do the applescript: 'delete with no warning'

and, well, nothing happens :-(

-- 
remove ".listes" and add a dot after fh please
enlevez ".listes" et ajoutez un point après fh


Reply via email to