搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Message Filter with Except Condition

  • 1 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 Zenos

more options

I need to write a Filter for incoming emails that automatically moves all the items from a specific sender to a specified folder *except* if a specific word is in the Subject line... in which case I want it to pass the filter and go to the Inbox like a normal piece of email. I have no problem setting up the first part -- Match the following: From contains "X", Move Messages to Folder "Y". But how do I make it say "Except if Z is in the Subject line"?

Thanks!

I need to write a Filter for incoming emails that automatically moves all the items from a specific sender to a specified folder *except* if a specific word is in the Subject line... in which case I want it to pass the filter and go to the Inbox like a normal piece of email. I have no problem setting up the first part -- Match the following: From contains "X", Move Messages to Folder "Y". But how do I make it say "Except if Z is in the Subject line"? Thanks!

被選擇的解決方法

You could create two filters. The first one detects the sender and the "escape" word and does nothing to the message, just halts processing of filters. The second one then can detect the same sender and do the move. The second one runs only when the first filter hasn't triggered.

I'm not sure if I have understood your logic, but you could try:

match all the following

sender is <sender> subject doesn't contain <escape word>

move message to <folder>

..so messages from this sender with the escape word in the subject line won't be moved.

從原來的回覆中察看解決方案 👍 2

所有回覆 (1)

more options

選擇的解決方法

You could create two filters. The first one detects the sender and the "escape" word and does nothing to the message, just halts processing of filters. The second one then can detect the same sender and do the move. The second one runs only when the first filter hasn't triggered.

I'm not sure if I have understood your logic, but you could try:

match all the following

sender is <sender> subject doesn't contain <escape word>

move message to <folder>

..so messages from this sender with the escape word in the subject line won't be moved.