[Contents]   [Back]   [Prev]   [Up]   [Next]   [Forward]  


How to input conditions

When Mew asks a user to input pick pattern, the following message is displayed.

pick pattern: 

Input pick pattern combining the following keywords:

`field=string'
Match if the "field" field contains the "string" string. If you specify "head", "body" or "all" as "field", it means the entire header, the body, and the entire message, respectively.
`<pattern1> & <pattern2>'
Match if <pattern1> AND <pattern2>.
`<pattern1> | <pattern2>'
Match if <pattern1> OR <pattern2>.
`! <pattern>'
Match if not <pattern>.
`( <pattern> )'
Evaluate <pattern> first.

Some examples are shown below.

(a) Messages whose From: contains "kazu".

from=kazu

(b) Messages whose To: contains "mew" OR Cc: contains "mew".

to=mew | cc=mew

(c) Messages whose To: contains "mew" OR Cc: contains "mew" AND From: contains "kazu".

(to=mew | cc=mew) & from=kazu

Now you can guess how to input more complex patterns.


[Contents]   [Back]   [Prev]   [Up]   [Next]   [Forward]