On 5/28/04 10:26 AM chris at [EMAIL PROTECTED] wrote.
Hi Chris- The problem is that this will only empty the Deleted Mail Folder and not the SPAM Folder. You see I have Emailer programmed to put all SPAM emails into a folder marked SPAM and then I can review this Folder and make sure it does not have non-spam mail in it. Then the rest of the SPAM mail I'd like to Delete. I guess I could do this every once in a while but I thought it might be good to run a script to automatically transfer the SPAM mail to Deleted Mail Folder which I have already programmed to delete mail that is ten days old. regards, doug >>Some time ago someone offered a script that would empty a Folder into the >>Deleted Folder. For example I have a Mail Action to move all SPAM >>messages to a SPAM folder so I can review them before Trashing them. But >>once I review them it would be nice to know I can set a script to empty >>this Folder every ten days or so like I can with the Deleted Folder. > >If you don't care about deleting only those that are more than 10 days >old, but instead are ok with simply deleting them all every 10 days >(which means some will be 10 days old, some will be a few hours old if >they were just added), then you can use the script you have to do the job. > >Create a new schedule (Setup menu -> Schedules, click New). Change the >Popup on the left from Connections to AppleScript, then choose the >script. Then on the right, set the popup to Timed (if it isn't already) >and then mark off when you want the script to run. (ie: Click Sunday, 12 >AM, :05 after the hour. That will have the script run every Sunday at 5 >minutes past midnight) > >Obviously, you won't actually be able to do it every 10 days, as the >longest the Schedules allows for is once a week, so it will be every 7 >days (or less if you want, you can do it every day if that makes you >happy). > >-chris ><http://www.mythtech.net> > > ___________________________________________________________________________ To unsubscribe send a mail message with a SUBJECT line of "unsubscribe" to <[EMAIL PROTECTED]> or <[EMAIL PROTECTED]>

