Is there a way to set up Entourage so that email messages are deleted
from the server after they are read? I know that you can do this to
each individual message, but was wondering if you could have this be
automatic. Thank you.
It's not the cleanest solution, but this script should do it if you set it
up to run regularly (e.g. Every 10 minutes) via a schedule. Caveat, I don't
have any POP accounts with leave on server enabled, so I didn't test it.
Also, this only check messages in the Inbox and Deleted Items; it won't work
for any messages moved to other folders.
tell application "Microsoft Entourage"
set cm to (every message in the in box folder) & ¬
(every message in the deleted mail folder)
display dialog (count of cm)
repeat with msg in cm
if ((read status of msg) is read) and ¬
((online status of msg) is not (not on server)) then
set connection action of msg to remove at next connection
end if
end repeat
end tell