How Nuke mail coming in?

K

kevs

There is a certain group of spam I get (60% from Korean idiot mail),that I
have a rule that can isolate it in a folder if I want.

But this is not what I want. I don't want this crap even diluting my
important Deleted items folder.

I'd like this stuff Nuked the moment it comes off the server.

Right now I nuke it from my spam folder.

Now I've tried the nuke mail script to run automatically from the rules, but
it does not seem to work as an automatic script. It only works well if done
manually.

Anyone know why this is, and any ideas how to nuke these in an automatic
mode? Thanks
 
D

Dave Cortright

Now I've tried the nuke mail script to run automatically from the rules, but
it does not seem to work as an automatic script. It only works well if done
manually.

Anyone know why this is, and any ideas how to nuke these in an automatic
mode? Thanks

Here;s the script I use for permanently deleting messages. Since it uses the
"current messages" app property, it should work from a rule and manually.

tell application "Microsoft Entourage"
set cm to current messages
repeat with msg in cm
delete msg
try
delete msg
end try
end repeat
end tell
 
K

kevs

Here;s the script I use for permanently deleting messages. Since it uses the
"current messages" app property, it should work from a rule and manually.

tell application "Microsoft Entourage"
set cm to current messages
repeat with msg in cm
delete msg
try
delete msg
end try
end repeat
end tell
Wow, could not understand a word of that.
Kevin
 
P

Paul Berkowitz

Wow, could not understand a word of that.
Kevin

It's an AppleScript. AppleScript is how you customize and automate
Entourage. You can use someone else's script to do it for you. Regulars here
are familiar with scripts, but you're probably new here. Copy the original:

------------

tell application "Microsoft Entourage"
set cm to current messages
repeat with msg in cm
delete msg
try
delete msg
end try
end repeat
end tell

------------------

and paste it into into Script Editor, which you open from
/Applications/AppleScript/ folder.

Click "Compile" button. Then Save (cmd-S) as a Script (the default popup
value in the Save dialog) to the Entourage Script Menu Items folder in the
Microsoft User Data folder in your user Documents folder. When you save it,
give it a name such as "Nuke Messages". Now if you go to the Script menu in
Entourage (the S-squiggly thing next to the Help menu) you'll see "Nuke
Messages" menu item as well as a few other that MS have supplied.

If you select one or more messages in any folder, then select that "Nuke
Messages" menu item in Scripts menu, that's it. Nuked. You can also set the
Action of a rule in Tools/Rules/New to Run AppleScript..../ Click the Script
button and navigate to this "Nuke Messages". script in the Entourage Script
menu Items folder where you saved it. And set the Criteria (If) to whatever
is appropriate. Now the script will run automatically on all messages that
fit your criteria whenever such message download, and you'll never see
them.

If you'd like to be able to run the script manually on selected messages via
Keyboard Shortcut, enter "AppleScript" in the Help menu Search box to find
out how to name the script to achieve that.


--
Paul Berkowitz
MVP Entourage
Entourage FAQ Page: <http://www.entourage.mvps.org/toc.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 Entourage you are using - 2001 or X.
It's often impossible to answer your questions otherwise.
 
K

kevs

It's an AppleScript. AppleScript is how you customize and automate
Entourage. You can use someone else's script to do it for you. Regulars here
are familiar with scripts, but you're probably new here. Copy the original:

------------

tell application "Microsoft Entourage"
set cm to current messages
repeat with msg in cm
delete msg
try
delete msg
end try
end repeat
end tell

------------------

and paste it into into Script Editor, which you open from
/Applications/AppleScript/ folder.

Click "Compile" button. Then Save (cmd-S) as a Script (the default popup
value in the Save dialog) to the Entourage Script Menu Items folder in the
Microsoft User Data folder in your user Documents folder. When you save it,
give it a name such as "Nuke Messages". Now if you go to the Script menu in
Entourage (the S-squiggly thing next to the Help menu) you'll see "Nuke
Messages" menu item as well as a few other that MS have supplied.

If you select one or more messages in any folder, then select that "Nuke
Messages" menu item in Scripts menu, that's it. Nuked. You can also set the
Action of a rule in Tools/Rules/New to Run AppleScript..../ Click the Script
button and navigate to this "Nuke Messages". script in the Entourage Script
menu Items folder where you saved it. And set the Criteria (If) to whatever
is appropriate. Now the script will run automatically on all messages that
fit your criteria whenever such message download, and you'll never see
them.

If you'd like to be able to run the script manually on selected messages via
Keyboard Shortcut, enter "AppleScript" in the Help menu Search box to find
out how to name the script to achieve that.
Paul:
I've been using few Entourage scripts, including one of yours, for few
years.

I can't write script, can't understand it yet, so I use those you can
download like yours from the web.

One of my favorites is nuke messages. I highlight all mail in my spam
folder and run this script manually and it nukes all the mail, so this crap
does not clutter my deleted items folder. This is very important because I
go through that folder once in a while.

I would like the nuke message script to run as a action in the rule I
already have made for filtering Korean junk.

I tried in the past to set this rule to use an action on this script. But I
started getting error messages, and the whole program became chaotic. I had
to put a post on this site to figure that out. Even you said it's because
you are running an action on a script that was only meant to be run
manually.

I tried contacting the guy who invented that script but he is not reachable.

So my question is: Does anyone know of an already made nuke messages script
that would run as an action?

PS: any other ideas about getting rid of Korean junk? And you have any idea
why I get so much of it? Are they trying to sell something to me?
Thanks
Kevin
 
Top