• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Eudora Help, Please
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Eudora Help, Please


  • Subject: Eudora Help, Please
  • From: Marconi <email@hidden>
  • Date: Sat, 12 Jul 2003 11:16:02 -0700

I'm trying to identify the biggest sources of spam I receive and I'm thinking that the "Received: from" headers can help. In my spam mailbox, I'd like to be able to select a group of emails and then invoke a script to do the following:

open a blank, text document ('New Text Document' from the File menu)

for each selected email...
push the blah-blah button "set show all headers to true" (if necessary to be able to copy header info);
open the email, if necessary;
look for all lines beginning with "Received: from" and copy those entire lines;
paste the Received: from lines into the text document (followed by a newline)
close the spam email

I can then save the text document and use BBEdit to clean it up, leaving only the IP addresses of the Received: from servers. The most frequently appearing IPs will get some special attention.

The following is not a real script. The syntax is wrong and I don't even know if a script can open a new text document. I can't even figure out how to get a count of messages in the selection so the script knows how many times to do the repeat loop.

tell application "Eudora"
open a text document
set spamlist to selection
set HowMany to count of messages in spamlist
repeat with thismessage from 1 to HowMany
set show all headers to true
set ReceivedLine to text of (get field "Received: from")
Paste ReceivedLine into text document -- followed by a newline
end repeat -- move on to next message
end tell

I hope it's clear what I'm trying to do... Can anyone guide me to the correct syntax?

Eudora 5.2.1 on OSX 10.2.6.

--

"A man who believes in nothing will fall for anything." -- Malcolm X
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Eudora Help, Please
      • From: John Delacour <email@hidden>
    • Re: Eudora Help, Please
      • From: Bill Briggs <email@hidden>
  • Prev by Date: [ANN] (Domo) Arrigato v1.0.1
  • Next by Date: Fwd: Rejected posting to email@hidden
  • Previous by thread: [ANN] (Domo) Arrigato v1.0.1
  • Next by thread: Re: Eudora Help, Please
  • Index(es):
    • Date
    • Thread