Title: Re: Auto Delete from Server
On 10/14/01 9:13 PM, "John E. Gniewkowski" <[EMAIL PROTECTED]> wrote:

> I have a request and if anyone can come up with a script or idea I know it's
> the people on this list. Here goes:
>
> For the past two months I have been getting emails from somebody who is
> infected with some sort of problem. Each email is from the same sender with
> the subject "letter" and a 205.6kB attachment.
>
> On a good day I get 6--today I had 23 waiting for me. Right now I'm using
> POPmonitor to log on and delete them and I wish I could automate that
> procedure (is POPmonitor scriptable?)
>

1) You can  go into your Account (Tools --> Accounts) and check both "Partially receive messages greater than [20] KB" and "Allow online access". When you see one of these partially downloaded, either just click on the server status icon at left of message and select "Delete from Server" - or if there are several, click on the server icon for the account in the Folder List (which will appear after you allow online access). That will get you into the server. Command-click or shift-click to select all these miscreants and click delete button to mark all as to be deleted from server. Then Receive All from the account again to delete them. Other large messages will have to be downloaded by clicking the server status icon when selected and select "Download message".


OR


2) Check  the "Partially receive messages greater than [20] KB" box, and, preferably the "Allow online access" one too (in case you need to check up now and again). A schedule could be set to run periodically to Run AppleScript which could do the same thing as above. Something like this:

----------------------------
tell application "Microsoft Entourage"
    set largeMessages to every message of folder "Inbox" whose online status is partially downloaded
    repeat with theMsg in largeMessages
        if address of the sender of theMsg is "[EMAIL PROTECTED]" then
            set connection action of theMsg to remove at next connection
        else
            set connection action of theMsg to download at next connection
        end if
    end repeat
    connect to POP account "My Account" -- does the job
end tell
-------------------------------

Adjust accordingly and set a schedule of your liking to run this script every so often. You could wait for your Send & Receive All schedule to complete, maybe wait a minute, then run it manually once and then at the same interval as your Send & Receive All.


--
Paul Berkowitz

Reply via email to