Re: Account Mail Question
Re: Account Mail Question
- Subject: Re: Account Mail Question
- From: Peter Baxter <email@hidden>
- Date: Sun, 30 Dec 2007 13:23:40 +1100
On this issue,
I have a very aggressive filter on this computer and have no spam to
test it on, so could someone please try this script. (If you have
some spam without an id)
tell application "Mail"
tell message viewer 1
set theMSG to (message id of every message whose message id does not
contain "@")
end tell
try
repeat with i from 1 to the number of items in theMSG
delete i
end repeat
on error
display dialog "There was no spam today without an id"
end try
--Use a repeat routine to move theMSG to mailbox "INBOX_Duplicates"
end tell
On 30/12/2007, at 1:05 PM, Michelle Steiner wrote:
On Dec 29, 2007, at 6:41 PM, m wrote:
Works great for Legitimate e-mails, but spam often has no message-
id. That's why I used the internal ID. But, I may go back to that.
I think that the best way to handle spam that gets through the spam
filter is to manually mark it as spam; it should then go right into
Junk folder.
-- Michelle
--
You don't need to be 'straight' to fight for your country. You just
need to shoot straight.
-- Barry Goldwater
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
peterba
mail: email@hidden
Music with dinner is an insult both to the cook and the violinist.
-- G. K. Chesterton (1874 - 1936)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden