aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Klapper <a9016009@gmx.de>2007-10-24 19:12:41 +0800
committerMilan Crha <mcrha@src.gnome.org>2007-10-24 19:12:41 +0800
commit20186ab1d14c88987f73b233445039941e245c90 (patch)
treefe128ddda128380fcceece7ccb47b258d7ff899e
parent2b1909d9445e2b51c07f25a26360ffa44892107b (diff)
downloadgsoc2013-evolution-20186ab1d14c88987f73b233445039941e245c90.tar
gsoc2013-evolution-20186ab1d14c88987f73b233445039941e245c90.tar.gz
gsoc2013-evolution-20186ab1d14c88987f73b233445039941e245c90.tar.bz2
gsoc2013-evolution-20186ab1d14c88987f73b233445039941e245c90.tar.lz
gsoc2013-evolution-20186ab1d14c88987f73b233445039941e245c90.tar.xz
gsoc2013-evolution-20186ab1d14c88987f73b233445039941e245c90.tar.zst
gsoc2013-evolution-20186ab1d14c88987f73b233445039941e245c90.zip
** Fix for bug #261165
2007-10-24 Andre Klapper <a9016009@gmx.de> ** Fix for bug #261165 * filtertypes.xml: added search on CC and BCC svn path=/trunk/; revision=34417
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/filtertypes.xml134
2 files changed, 140 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index a78f27f8f9..abf7210f21 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2007-10-24 Andre Klapper <a9016009@gmx.de>
+
+ ** Fix for bug #261165
+
+ * filtertypes.xml: added search on CC and BCC
+
2007-10-23 Milan Crha <mcrha@redhat.com>
** Fix for bug #271734
diff --git a/mail/filtertypes.xml b/mail/filtertypes.xml
index e7571fc665..3132fce6b7 100644
--- a/mail/filtertypes.xml
+++ b/mail/filtertypes.xml
@@ -150,6 +150,140 @@
<input type="address" name="recipient"/>
</part>
+ <part name="cc">
+ <title>CC</title>
+ <input type="optionlist" name="recipient-type">
+ <option value="contains">
+ <title>contains</title>
+ <code>
+ (match-all (header-contains "Cc" ${recipient}))
+ </code>
+ </option>
+ <option value="not contains">
+ <title>does not contain</title>
+ <code>
+ (match-all (not (header-contains "Cc" ${recipient})))
+ </code>
+ </option>
+ <option value="is">
+ <title>is</title>
+ <code>
+ (match-all (header-matches "Cc" ${recipient}))
+ </code>
+ </option>
+ <option value="is not">
+ <title>is not</title>
+ <code>
+ (match-all (not (header-matches "Cc" ${recipient})))
+ </code>
+ </option>
+ <option value="starts with">
+ <title>starts with</title>
+ <code>
+ (match-all (header-starts-with "Cc" ${recipient}))
+ </code>
+ </option>
+ <option value="not starts with">
+ <title>does not start with</title>
+ <code>
+ (match-all (not (header-starts-with "Cc" ${recipient})))
+ </code>
+ </option>
+ <option value="ends with">
+ <title>ends with</title>
+ <code>
+ (match-all (header-ends-with "Cc" ${recipient}))
+ </code>
+ </option>
+ <option value="not ends with">
+ <title>does not end with</title>
+ <code>
+ (match-all (not (header-ends-with "Cc" ${recipient})))
+ </code>
+ </option>
+ <option value="matches soundex">
+ <title>sounds like</title>
+ <code>
+ (match-all (header-soundex "Cc" ${recipient}))
+ </code>
+ </option>
+ <option value="not match soundex">
+ <title>does not sound like</title>
+ <code>
+ (match-all (not (header-soundex "Cc" ${recipient})))
+ </code>
+ </option>
+ </input>
+ <input type="address" name="recipient"/>
+ </part>
+
+ <part name="bcc">
+ <title>BCC</title>
+ <input type="optionlist" name="recipient-type">
+ <option value="contains">
+ <title>contains</title>
+ <code>
+ (match-all (header-contains "Bcc" ${recipient}))
+ </code>
+ </option>
+ <option value="not contains">
+ <title>does not contain</title>
+ <code>
+ (match-all (not (header-contains "Bcc" ${recipient})))
+ </code>
+ </option>
+ <option value="is">
+ <title>is</title>
+ <code>
+ (match-all (header-matches "Bcc" ${recipient}))
+ </code>
+ </option>
+ <option value="is not">
+ <title>is not</title>
+ <code>
+ (match-all (not (header-matches "Bcc" ${recipient})))
+ </code>
+ </option>
+ <option value="starts with">
+ <title>starts with</title>
+ <code>
+ (match-all (header-starts-with "Bcc" ${recipient}))
+ </code>
+ </option>
+ <option value="not starts with">
+ <title>does not start with</title>
+ <code>
+ (match-all (not (header-starts-with "Bcc" ${recipient})))
+ </code>
+ </option>
+ <option value="ends with">
+ <title>ends with</title>
+ <code>
+ (match-all (header-ends-with "Bcc" ${recipient}))
+ </code>
+ </option>
+ <option value="not ends with">
+ <title>does not end with</title>
+ <code>
+ (match-all (not (header-ends-with "Bcc" ${recipient})))
+ </code>
+ </option>
+ <option value="matches soundex">
+ <title>sounds like</title>
+ <code>
+ (match-all (header-soundex "Bcc" ${recipient}))
+ </code>
+ </option>
+ <option value="not match soundex">
+ <title>does not sound like</title>
+ <code>
+ (match-all (not (header-soundex "Bcc" ${recipient})))
+ </code>
+ </option>
+ </input>
+ <input type="address" name="recipient"/>
+ </part>
+
<part name="subject">
<title>Subject</title>
<input type="optionlist" name="subject-type">