JoanieH said:
How do I make a rule to automatically delete all e-mails with a blank
subject
line? I get at least 100-200 e-mails a day (spam) with no subject
line.
So what are blank lines? Those without any characters. Look at the
rules to notice there are many 'exception' clauses. So think in
reverse. Instead of rejecting an an e-mail that has a blank Subject,
instead reject all e-mails unless they have at least one character in
the Subject.
Apply this rule after the message arrives
move to Junk (or delete or whatever default action you want)
except if the Subject contains "a" or "b" or ... [or "0" or "1" or
....]
stop processing more rules
You end up having to specify the 26 alphabetic characters (and
optionally the 10 numeric characters). If the Subject doesn't contain
at least one alphanumeric character then it is considered a blank header
(so "#(*>-+,.!" would *not* be considered a legit Subject and also
considered a blank line).
If you're not concerned about testing for numbers in the Subject (i.e.,
where the Subject only has numbers), you can just test on no alphabetic
characters in the Subject header. Also, if you don't expect e-mails
written in a language where vowels are missing from words, as in Jewish
or Welch, then you can reduce the test to just look for absence of "a",
"e", "i", "o", "u", or "y" (but note that a Subject like "Tsk, tsk, Mz.
JH" has no vowels).