> 1. Is it possible to filtter on certain words that appear in the HTML
> of an email? For example, I'm looking to filter on any message that
> has ".info/" in any HTML appearing in the message.
As far as I know, filtering works on the entire email message text (or
close to it), which is why filtering on a word you expect to find in
the body, also catches that word if it appears only in the subject or
in the sender's name. Hence, I would think Gmail is searching the
HTML code too. But I could be wrong.
If it is being pulled in from another source when you view the
message, then I think you'd be out of luck. Is it there if you do
Show Original? That shows you what Gmail has to work with, before
pulling in images or other code.
Filtering on ".info/" might not work as expected because Gmail's
search/filter function seems to skip (most) punctuation, and Gmail
doesn't have wildcards. I have tried in vain several times to get
searches to work when the search term included some non-alphanumeric
characters, since Gmail ignores them.
If for some reason it sees ".info/" or "info" as part of a longer
"word", then it won't find that either because Gmail's search finds
whole words only.
I haven't a clue if an add-on to Gmail provides enhanced filtering
capabilities, since I don't use any.
But another alternative is IMAP to your PC and then you have a range
of choices in email clients that may offer better filtering
capabilities than Gmail itself does.
> 2. More general question: There are some emails -- the sneaky ones --
> that are very persistent. ...
> ... I am surprised that the GMail filters do not
> catch this email, and many others like it.
I trust you have been "training" your Gmail spam filter, by clicking
on Report Spam as often as possible.
I've had periods where many obvious spam messages weren't being
caught. After consistently marking them for a few weeks, the spam
filter finally caught on. In almost all cases it learns quickly, but
a couple of cases were oddly persistent.
Using (and training) the spam filter is said to be far preferable to
constructing your own filter.
It appears you are trying to filter on the ".info" top-level Internet
domain. I'd think there could be a lot of non-spam from that domain
too. Do you really want to block everything from .info?
Perhaps instead of the .info top-level domain, you could search for
the next-level domain, if it is consistently there on the troublesome
emails.
Regards,
Andy
As far as I know, only your account is affected. What is spam to me
might not be spam to someone else.
I suppose Google might make use of everyone's spam preferences in some
way to tailor all their filters, over time. Even if they do this,
I've got to believe that one person's settings must have a minuscule
effect on everyone else's accounts.
Andy