Strict operator ""
|
match strict terms will ignore every operator put between those quotes
Example :
this will match element with a subject that contains exactly TEST TEST2 TEST3,
and forward them to iamnot@atest.ovh
<entry>
<category term='filter'></category>
<title>Mail Filter</title>
<id>4051388416584988610</id>
<updated>2018-07-07T07:07:07Z</updated>
<content></content>
<apps:property name='subject' value='"TEST TEST2 TEST3"'/>
<apps:property name='forwardTo' value='iamnot@atest.ovh'/>
</entry>
|
AND operator
|
match multiple terms, using space is by default an AND
Example :
this will match element with a subject that contains TEST AND TEST2,
and forward them to iamnot@atest.ovh
<entry>
<category term='filter'></category>
<title>Mail Filter</title>
<id>4051388416584988610</id>
<updated>2018-07-07T07:07:07Z</updated>
<content></content>
<apps:property name='subject' value='(TEST TEST2)' />
<apps:property name='forwardTo' value='iamnot@atest.ovh'/>
</entry>
|
OR,{} operator
|
match one or more terms, { } can also be used
Example :
this will match element with a subject that contains TEST or TEST2,
and forward them to iamnot@atest.ovh
<entry>
<category term='filter'></category>
<title>Mail Filter</title>
<id>4051388416584988610</id>
<updated>2018-07-07T07:07:07Z</updated>
<content></content>
<apps:property name='subject' value='(TEST OR TEST2)' />
<apps:property name='forwardTo' value='iamnot@atest.ovh'/>
</entry>
|
Minus (-) operator
|
excluse from match one or more terms
Example :
this will match element with a subjeect that doesnt contains TEST and contains TEST2.
And forward them to iamnot@atest.ovh
<entry>
<category term='filter'></category>
<title>Mail Filter</title>
<id>4051388416584988610</id>
<updated>2018-07-07T07:07:07Z</updated>
<content></content>
<apps:property name='subject' value='(-TEST TEST2)' />
<apps:property name='forwardTo' value='iamnot@atest.ovh'/>
</entry>
|