This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Thunderbird rules wont filter HTML

  • 2 (ردّان اثنان)
  • 0 have this problem
  • 8 views
  • آخر ردّ كتبه blandyuk1

more options

Hi all,

I'm wanting to create a rule in Thunderbird to filter HTML tags. Been getting a lot of SPAM using <textarea> tags, which is 100% SPAM as no one ever uses those in an email.

See email source attached.

I've created a rule if "body" contains "<textarea" and "move" to the "Junk" folder, but it fails. Presume it's only looking at text only, not the RAW source which it need to. </p>

I suggest there is an option for "Body (Raw)" which would help get this working. I'm using my @hotmail account and have tried www.outlook.com online and adding a rule in there, but the same happens. It really is stupid that it only looks at the text only, and has NO option to look at the original email body.

Any help would be great, thanks.

Hi all, I'm wanting to create a rule in Thunderbird to filter HTML tags. Been getting a lot of SPAM using <textarea> tags, which is 100% SPAM as no one ever uses those in an email. See email source attached. I've created a rule if "body" contains "<textarea" and "move" to the "Junk" folder, but it fails. Presume it's only looking at text only, not the RAW source which it need to. I suggest there is an option for "Body (Raw)" which would help get this working. I'm using my @hotmail account and have tried www.outlook.com online and adding a rule in there, but the same happens. It really is stupid that it only looks at the text only, and has NO option to look at the original email body. Any help would be great, thanks.
Attached screenshots

All Replies (2)

more options

I am not aware of a spam tool that looks at raw HTML. However, if there is a header that is interesting, you can add that to the filter. For example, Newsgroups is not a default filter option, but since it is a legitimate header entry, I was successful in creating a filter to run off of it. Another approach is software: mailwasher is free for just one account and does an excellent job of spam management. Another option is to create a gmail account, and import your mail through gmail: that lets you then use gmail's filter tools for your account.

more options

I can do this with my own hosted mail server, but means I'll have to import my entire mailbox into a IMAP account and then forward my @hotmail account to it, (I have numerous owned domains).

I have that option! So I'll see if I want to do it.

Thanks for the feedback, but they do need to add this as an option to the filters, and it seems no one else is doing it, so they would be the first, which would be another great reason to use Thunderbird.

Been getting some nasty encoded HTML phishing emails (see attached). No chance of filtering anything due to CSS hidden styles and encoding. I did block the below styles, but apparently legitimate emails do use them, no idea why.

display: none; visibility: hidden; mso-hide: all;

No one should be trying to hide anything in an email, but some companies do, which is annoying!