Implement "Message Contains" (searches sender, recipients, subject, and

2001-08-16  Peter Williams  <peterw@ximian.com>

	* searches.xml: Implement "Message Contains" (searches sender,
	recipients, subject, and body) and make it first.

svn path=/trunk/; revision=12134
This commit is contained in:
Peter Williams
2001-08-16 22:46:10 +00:00
committed by Peter Williams
parent 53f0a00b1b
commit fc8a71b59e
2 changed files with 28 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2001-08-16 Peter Williams <peterw@ximian.com>
* searches.xml: Implement "Message Contains" (searches sender,
recipients, subject, and body) and make it first.
2001-08-14 Peter Williams <peterw@ximian.com>
* searches.xml: Rename <title> to <_title> so that these fields can

View File

@ -1,6 +1,29 @@
<?xml version="1.0"?>
<filteroptions>
<ruleset>
<rule grouping="any" source="demand">
<_title>Message contains</_title>
<partset>
<part name="subject">
<value name="subject-type" type="option" value="contains"/>
<value name="subject" type="string"/>
</part>
<part name="body">
<value name="body-type" type="option" value="contains"/>
<value name="word" type="string"/>
</part>
<part name="sender">
<value name="sender-type" type="option" value="contains"/>
<value name="sender" type="string"/>
</part>
<part name="to">
<value name="recipient-type" type="option" value="contains"/>
<value name="recipient" type="address"/>
</part>
</partset>
<sources/>
</rule>
<rule grouping="any" source="demand">
<_title>Sender contains</_title>
<partset>