I use the following AppleScript:

property spamFolderName : "Spam"
property spamlabel : 7

tell application "PowerMail"
        set msgs to current messages
        repeat with m in msgs
                try
                        set s to m's source
                        tell application "SpamSieve"
                                set isSpam to (looks like spam message s)
                        end tell
                        if isSpam then
                                if not (exists message container 
spamFolderName) then
                                        make new message container with 
properties {name:spamFolderName}
                                end if
    set m's status to read
                                move m to message container spamFolderName
                        end if
                end try
        end repeat
end tell

//brian

On Fri, Feb 28, 2003 at 1:18 PM, Mirko Kranenburg wrote:

>I am a happy user of SpamSieve, to keep the inboxes wholesome and healthy.
>The AppleScripts provided move the junk to a Spam folder.
>My question now is: does anyone know how to modify the supplied SpamSieve
>- Move Spam in such a way that it sets the status of the junk messages to
>Read in one go?
>Now I still see those messages when I set them to Read manually.
>
>Thanks,
>
>Mirko
>
>-- 
>Mirko Kranenburg
>e-mail [EMAIL PROTECTED]
>
>
>


Reply via email to