I suggest as a first step that your rule relies only on the header of your emails. FYI:
An email header is a hidden block of metadata that contains technical details about the sender, recipient, routing path, and security authentication. It precedes the email body and is used to verify legitimacy, troubleshoot delivery issues, and filter spam. Key fields include Sender (From), Recipient (To ), Date, Subject, etc.
Your rule will resemble something like the following:
After message has been received
with ‘From: @somedomain.com’, ‘From: BannedWord’, ‘Subject: BannedWord’ found in header
move to folder
stop processing other rules
Specify a folder or choose another action (like deleting the email).
If for any reason, you would like to include the body of the emails, replace the header part by:
Flagging a given address, a sender or a domain: from 'JoeBlow@\\*', '[email protected]', @somedomain.com
Adding the body and subject part: and with 'BannedWord1', 'BannedWord2' found in body or subject
hi
I switched to program in my native language and i found the solution
I suggest as a first step that your rule relies only on the header of your emails. FYI:
right !
Very wise ,just because i was used to click menu-> rules → new rule and there are some pre-made rules
where can i find the header ?
and please can i use the wildcards in the words in the body or sender adress or obeject ( for example ? or * )?
and when i click on the sender i have less rules and condition , for example words in the body ,why ?
if I use an outlook account even words less rules and condition
thanks
i think i will try and learn how to make powerfull rules
are all the rules and condition the same with a gmail or yahoo or outlook account?
about these request this , are these rules presents and available ?
thanks
In principle you can apply a rule with any header name in the email header. As far as I know, the sent date (Date) and the received date (Delivery-date) are already in the headers, but not the size of the attachment(s). I might be wrong though about the attachment(s). Someone else on this forum may confirm whether it is the case.
Here are the most common header names and their respective value:
Header Name
Header Value
Return-Path
An email address
Delivered-To
An email address
Envelope-to
An email address
Delivery-date
Date received: Format example: Thu, 19 Mar 2026 17:34:56 +0000
Date
Date sent: Format example: Thu, 19 Mar 2026 17:34:13 +0000 (UTC)
From
A sender name or organization + An email address
Subject
Obviously, the email subject
Reply-To
An email address
To
A name + An email address
I suggest you use a header parser (also called email header analyzers) like this one.. These tools make email headers human readable.
Just paste your email header (Right click in the body of any email >> View Mail Header >> Copy).