aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchenthill@novell.com>2012-03-09 12:48:49 +0800
committerChenthill Palanisamy <pchenthill@novell.com>2012-03-09 12:49:20 +0800
commit015ede7bc8212f079c3d9e2f2304b14457dbcfd9 (patch)
treee0498a57b9942304c65ddb0cbdab42953bcf295d /mail
parent5a2590aea222aac58f1b00538806c53c87e91e1c (diff)
downloadgsoc2013-evolution-015ede7bc8212f079c3d9e2f2304b14457dbcfd9.tar.gz
gsoc2013-evolution-015ede7bc8212f079c3d9e2f2304b14457dbcfd9.tar.zst
gsoc2013-evolution-015ede7bc8212f079c3d9e2f2304b14457dbcfd9.zip
Include searching Bcc header while looking for recipients
Diffstat (limited to 'mail')
-rw-r--r--mail/searchtypes.xml24
1 files changed, 16 insertions, 8 deletions
diff --git a/mail/searchtypes.xml b/mail/searchtypes.xml
index c74f58cbf7..6357bfdb06 100644
--- a/mail/searchtypes.xml
+++ b/mail/searchtypes.xml
@@ -55,7 +55,8 @@
<title>contains</title>
<code>
(match-all (or (header-contains "To" ${recipient})
- (header-contains "Cc" ${recipient})))
+ (header-contains "Cc" ${recipient})
+ (header-contains "Bcc" ${recipient})))
</code>
</option>
<option value="not contains">
@@ -63,14 +64,16 @@
<code>
(match-all (not (or
(header-contains "To" ${recipient})
- (header-contains "Cc" ${recipient}))))
+ (header-contains "Cc" ${recipient})
+ (header-contains "Bcc" ${recipient}))))
</code>
</option>
<option value="is">
<title>is</title>
<code>
(match-all (or (header-matches "To" ${recipient})
- (header-matches "Cc" ${recipient})))
+ (header-contains "Cc" ${recipient})
+ (header-matches "Bcc" ${recipient})))
</code>
</option>
<option value="is not">
@@ -78,14 +81,16 @@
<code>
(match-all (not (or
(header-matches "To" ${recipient})
- (header-matches "Cc" ${recipient}))))
+ (header-contains "Cc" ${recipient})
+ (header-matches "Bcc" ${recipient}))))
</code>
</option>
<option value="starts with">
<title>starts with</title>
<code>
(match-all (or (header-starts-with "To" ${recipient})
- (header-starts-with "Cc" ${recipient})))
+ (header-contains "Cc" ${recipient})
+ (header-starts-with "Bcc" ${recipient})))
</code>
</option>
<option value="not starts with">
@@ -93,14 +98,16 @@
<code>
(match-all (not (or
(header-starts-with "To" ${recipient})
- (header-starts-with "Cc" ${recipient}))))
+ (header-contains "Cc" ${recipient})
+ (header-starts-with "Bcc" ${recipient}))))
</code>
</option>
<option value="ends with">
<title>ends with</title>
<code>
(match-all (or (header-ends-with "To" ${recipient})
- (header-ends-with "Cc" ${recipient})))
+ (header-contains "Cc" ${recipient})
+ (header-ends-with "Bcc" ${recipient})))
</code>
</option>
<option value="not ends with">
@@ -108,7 +115,8 @@
<code>
(match-all (not (or
(header-ends-with "To" ${recipient})
- (header-ends-with "Cc" ${recipient}))))
+ (header-contains "Cc" ${recipient})
+ (header-ends-with "Bcc" ${recipient}))))
</code>
</option>
</input>