Title: Re: Problem setting message properties via AppleScript
How does this script differ from the options already in the app. To leave messages on the server, have them deleted when messages are deleted from E’rage or manually delete them by using the Online Acces-option?

I don’t get it.

Carsten

From: Jim McCarty <[EMAIL PROTECTED]>
Reply-To: "Entourage:mac Talk" <[EMAIL PROTECTED]>
Date: Sat, 20 Jan 2001 06:19:05 -0800
To: ~Entourage <[EMAIL PROTECTED]>
Subject: Re: Problem setting message properties via AppleScript


on 1/19/01 3:21 PM, Andy Fragen at [EMAIL PROTECTED] wrote:

This is the script that I wrote and use. It works fine.

(*
This script will remove the selected message from the server at the next
connection; if the message still remains on the server.
Use in conjunction with the Junk Mail Filter to remove mail from
the server when checking mail from 2 locations.
*)

tell application "Microsoft Entourage"
    set theMessage to item 1 of (get current messages)
    if (connection action of theMessage) exists then
       set (connection action of theMessage) to (remove at next connection)
    end if
end
tell

Excellent! Thanks

Jim

--
"There are no exceptions to the rule that everybody likes
to be an exception to the rule."
    - Malcolm Forbes


Reply via email to