I already did that. The only options for folders I can empty are the
one listed as "Folders on My computer."
Yes, this is a limitation in Entourage, only local and Exchange folders can
be used for automatic deletion of email by schedule.
The mail could be deleted by AppleScript, which could, in turn, be run on a
schedule.
What selection criteria do you want to use? This script will delete all sent
mail older than 10 days from the sent items folder of the first IMAP account
property theAccount : missing value
tell application "Microsoft Entourage"
if theAccount is missing value then
try
set theAccount to first IMAP account
on error errMsg number errNum
display dialog "There are no IMAP Accounts Available" buttons
{"Abort"} default button 1 giving up after 10
return
end try
end if
set theFolder to IMAP sent items folder of theAccount
set theMessages to every message of theFolder whose time sent < ((get
current date) - 10 * days)
try
delete theMessages
delete theMessages
end try
end tell
Save the script as a compiled script & put it in the ŒEntourage Script Menu
Items¹ folder in your ŒMicrosoft User Data¹ folder. The script can be
manually run from the menu or called as an action in a schedule.