powermail-discuss Digest #2557 - Tuesday, February 6, 2007 Re: Filter to remove from server by "Andy Fragen" <[EMAIL PROTECTED]>
---------------------------------------------------------------------- Subject: Re: Filter to remove from server From: "Andy Fragen" <[EMAIL PROTECTED]> Date: Mon, 5 Feb 2007 11:49:08 -0800 <applescript> tell application "PowerMail" set theMessages to current messages repeat with msg in theMessages if online status of msg is on server then set online status of msg to marked for deletion end if set status of msg to read end repeat end tell </applescript> However, this will not run during a connection because PM doesn't allow you to alter the online status during a connection. You will need to select and run the script at another time. -- Andy Fragen On Feb 5, 2007, at 7:59 AM, Shark Attack wrote: > Hi all; > > Does anybody know of a way to specify a filter action that deletes the > message from the server? Currently my mail remains on the server for a > day, but I'm presently having to do all of my OUTgoing mail via a web > interface due to a technical problem. That means that I'm faced with > all my received mail, including Spam, mailing lists, etc in the > not-very-user-friendly webmail window and it can take a long while to > spot the message I'm looking for. > > All my received mail is, however, still being downloaded to PM (the > technical problem is only with outgoing mail, not incoming), so if I > could just add an action to the filters that already deal with Spam, > mailing lists, etc, to delete the message from the server, then the > webmail view would be much cleaner. > > Is there an applescript for this? > Cheers; > > Rick > ---------------------------------------------------------------------- End of powermail-discuss Digest