How to set up an email filter with multiple criteria
I have Thunderbird installed on my PC and I have a HOW TO question.
I have my wife's email account setup to forward all mail to my email account. When the mail arrives, I have a filter that moves her mail to a folder and that filter works great. My problem was that we received an email yesterday where the TO line contained my both my email addresses (i.e. MMMM.xxxxx.com WWWW.ggggggggg.com). My email is not filtered and stays in the inbox but when the message arrived, the filter saw her address on the TO line in addition to my address and moved the message to her folder and I did not see the message since it was no longer in the inbox.
I tried to setup new, additional filter that I thought might work where the TO line contained both addresses where the filter action was to copy the message to her folder but leave the message in inbox but that didn't work. Since this message was from our homeowners association I tried FROM contains (i.e. @HOAssociation.com) and one or both of our email addresses on the TO line with the action still being a copy to her folder but that didn't seem to work either.
It was late at night (early morning) so I gave up and decided to ask for help so if anyone knows how to set this up. please let me know. Thanks.
Wšykne wótegrona (3)
You could have two filters: - one to search for her address and yours and to copy to her folder - the second filter, executed after the first, would be the original filter, searching for her address and moving it.
I was working on this so I could learn how Thunderbird's filters work. I had the same idea as David and found that the process worked with these settings:
Filter 1 Match all of the following. "To" contains your full e-mail address. "To" contains your wife's full e-mail address. Move message to inbox. Copy message to her folder.
Filter 2 Match all of the following. "To" contains your wife's full e-mail address. "To" does not contain your full e-mail address. Move message to her folder.
Rick
As it turned out my problem was not so much the filter I had created but the priority of which the filters were being processed. I had a pre-existing filter for my wife's email address first in the filter stack and the filter that contained both of our email addresses was father down in the stack. Because her filter was first, it moved the message to her folder and at that point the second filter had nothing to do as the action had already been taken on the inbound message. All that was really needed was for me to switch the order of the filters and it worked like a charm. So here's what they looked like in the end.
Filter 1 Match all of the following: "To" contains my full email address "To" contains my wife's full email address Action Move message to inbox Copy message to her folder
Filter 2 Match all of the following: "To" contains my wife's full email address "To" does NOT contain my full email address Action: Move message to her folder
Thanks everyone for the help.