Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

Message Filter with Except Condition

  • 1 risposta
  • 1 ha questo problema
  • 1 visualizzazione
  • Ultima risposta di 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!

Soluzione scelta

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.

Leggere questa risposta nel contesto 👍 2

Tutte le risposte (1)

more options

Soluzione scelta

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.