Welcome to MacForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Applescript to delete from server?

 
   Macintosh computer (Home) -> Entourage RSS
Next:  Outlook 2001 mac and Exchange 2003  
Author Message
Steve Angle

External


Since: Aug 06, 2004
Posts: 1



(Msg. 1) Posted: Fri Aug 06, 2004 10:55 am
Post subject: Applescript to delete from server?
Archived from groups: microsoft>public>mac>office>entourage (more info?)

Hi,

I have computers in different offices, and leave some messages (but not all)
on the server so that I can retrieve them (via POP/Entourage 2004) at the
appropriate office. With Eudora, I could set a filter to move messages
matching various criteria to a mailbox *and* delete them from the server.
(For instance, I only keep mailing list messages on one of my computers.)
But I cannot find a way to do this in Entourage; I end up having to delete
messages from the server manually. I have seen Paul Berkowitz's "Delete from
Server" script, but that only seems to delete them when the messages are put
in "deleted items"; I'd like a (simpler?) script that I could use in a rule.

Thanks for any help! I wish I knew how to write these things myself.

Steve Angle

 >> Stay informed about: Applescript to delete from server? 
Back to top
Login to vote
Paul Berkowitz

External


Since: Feb 25, 2004
Posts: 831



(Msg. 2) Posted: Fri Aug 06, 2004 10:55 am
Post subject: Re: Applescript to delete from server? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 8/6/04 7:31 AM, in article BD390E9F.3325C%sangle@wesleyan.edu, "Steve
Angle" wrote:

 > I have computers in different offices, and leave some messages (but not all)
 > on the server so that I can retrieve them (via POP/Entourage 2004) at the
 > appropriate office. With Eudora, I could set a filter to move messages
 > matching various criteria to a mailbox *and* delete them from the server.
 > (For instance, I only keep mailing list messages on one of my computers.)
 > But I cannot find a way to do this in Entourage; I end up having to delete
 > messages from the server manually. I have seen Paul Berkowitz's "Delete from
 > Server" script, but that only seems to delete them when the messages are put
 > in "deleted items"; I'd like a (simpler?) script that I could use in a rule.
 >
 > Thanks for any help! I wish I knew how to write these things myself.

I'm not quite clear as to whether you want a rule that both moves messages
meeting certain criteria to a folder and deletes them from the server _at
the moment they are received_ (when rules usually run). I think so. If so,
the most versatile way to do that, allowing you to make several different
rules of the same type, would be to make a rule or rules that:

If
<whatever criteria you want>

Then
<Move message> to <Choose folder>
<Run AppleScript> <See script>



The script would be the following, saved by Script Editor to your Script
menu Items folder:

tell application "Microsoft Entourage"
set theMsg to item 1 of (get current messages)
set connection action of theMsg to remove at next connection
end tell



--
Paul Berkowitz
MVP MacOffice
Entourage FAQ Page: <http://www.entourage.mvps.org/faq/index.html>
AppleScripts for Entourage: <http://macscripter.net/scriptbuilders/>

Please "Reply To Newsgroup" to reply to this message. Emails will be
ignored.

PLEASE always state which version of Microsoft Office you are using -
**2004**, X or 2001. It's often impossible to answer your questions
otherwise.

 >> Stay informed about: Applescript to delete from server? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Delete from server - Is there anyway to delete multiple messages from a POP server at a time. I only know of clicking on each message and selecting to remove it form the server on the next connection. Is there a way to do this to say 100 messages at a time. Thanks

Delete junk from server - I would like a script that would either delete selected messages from the server, or automatically delete all messages in the junk folder from the server but not locally. Preferably the latter option. I'm in Entourage 2004. My purpose is thus: I..

Delete from Server (message rules) -

Delete from server b4 rebuilding database? - I was pleased to see that after rebuilding my 2004 Entourage database that it was shrunk by over half. Retrashing old POP messages, however, was not so much fun. So I trust that before rebuilding, one should first delete all messages from POP servers. ..

Can't delete empty calendar folders from Exchange server - I am using Entourage 2004 11.2.3 with an Exchange server. Perviously I have used Entourage X and Outlook for my calendars/emails etc. Now using Entourage 2004, I have several calendars I've made in a futile effort to get my free/busy information to matc...
   Macintosh computer (Home) -> Entourage All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]