Easy Spam Filter

I just need to figure out how to code this up: IF
  • The From: address is all in capital letters
  • The word "widow" is in the message body
    and either
    • The Subject is "greetings in the name of the lord!"
    • The Subject: is in Hebrew (this won't work for everyone, I know)
it is spam.

No comments: