Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Eudora and POPFile connection with AppleScript Apps

I am (still) using Eudora for my e-mail. And POPFile for spam filtering. This works quite well. The only problem arises when I want to change the classification of a message. In order to do this, I have to open the message, sometimes show the 'Blah-Blah'-headers and then click the corresponding 'http://127.0.0...' URI.

This is not working well. I want a one-click solution. This hint has an AppleScript for MailSmith, but there was none for Eudora (IIRC). So I did one myself.

I wrote a little AppleScript which does this automatically [Download, or read the rest of the hint]. Place it in your Eudora Scripts folder (either /Applications -> Eudora.app -> Contents -> MacOS -> Eudora Stuff -> Scripts/ or ~/Library -> Scripts -> Eudora). You also have to turn on 'X-POPFile-Link' in POPFile's preferences. Then choose "Eudora2POPFile" from the scripts menu and the currently selected message is opened in POPFile. There is no error handling at all, it either works or does not.

Here's the script:


-- Eudora2POPFile
-- 040131 ole saalmann

-- If you have a message selected or opened in Eudora
-- and this message contains a X-POPFile-Link header,
-- this script will open the relevant POPFile page in
-- you webbrowser.
--This is real simple, either works or doesn't, no error handling.

global spamurl

try
  tell application "Eudora"
    set spamurl to (get field "X-POPFile-Link:" of message 0)
  end tell

  set text item delimiters to " "
  set spamurl to text items of spamurl
  set spamurl to last item of spamurl

  open location spamurl
end try
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[3,772 views]  

Eudora and POPFile connection with AppleScript | 3 comments | Create New Account
Click here to return to the 'Eudora and POPFile connection with AppleScript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Eudora and POPFile connection with AppleScript
Authored by: droemel on Feb 06, '04 06:42:27PM

How did you get Popfile to work in 10.3.2? It seems to miss some perl-modules. Nowhere is stated in the docu which modules you need.



[ Reply to This | # ]
Eudora and POPFile connection with AppleScript
Authored by: droemel on Feb 06, '04 07:59:45PM

Ok, I got it working now. Tips are found here:
http://popfile.sourceforge.net/cgi-bin/wiki.pl?HowTos/MacOSX



[ Reply to This | # ]
Eudora and POPFile connection with AppleScript
Authored by: ole-olo on Feb 08, '04 07:58:57AM
There are some more instructions at http://www.artz-net.de/popfile/. They used to work for me.

[ Reply to This | # ]