mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 05:34:51 +00:00
Refactoring
This commit is contained in:
parent
c131de5f0e
commit
5f4c1f1ce1
3 changed files with 3 additions and 3 deletions
2
FAQ.md
2
FAQ.md
|
@ -2785,7 +2785,7 @@ The following extra functions are available:
|
|||
* *attachments()* (returns an integer indicating number of attachments; since version 1.2179)
|
||||
* *Jsoup()* (returns an array of selected strings; since version 1.2179)
|
||||
* *Size(array)* (returns the number of items in an array; since version 1.2179)
|
||||
* *Known()* (returns a boolean indicating that the from/reply-to address is in the Android address book or in the local contacts database)
|
||||
* *knownContact()* (returns a boolean indicating that the from/reply-to address is in the Android address book or in the local contacts database)
|
||||
|
||||
Example conditions:
|
||||
|
||||
|
|
|
@ -114,7 +114,7 @@ public class ExpressionHelper {
|
|||
configuration.getFunctionDictionary().addFunction("attachments", fAttachments);
|
||||
configuration.getFunctionDictionary().addFunction("Jsoup", fJsoup);
|
||||
configuration.getFunctionDictionary().addFunction("Size", fSize);
|
||||
configuration.getFunctionDictionary().addFunction("Known", fKnown);
|
||||
configuration.getFunctionDictionary().addFunction("knownContact", fKnown);
|
||||
|
||||
configuration.getOperatorDictionary().addOperator("Contains", oContains);
|
||||
configuration.getOperatorDictionary().addOperator("Matches", oMatches);
|
||||
|
|
|
@ -1524,7 +1524,7 @@ X-Google-Original-From: Somebody <somebody+extra@example.org></code></pre>
|
|||
<li><em>attachments()</em> (returns an integer indicating number of attachments; since version 1.2179)</li>
|
||||
<li><em>Jsoup()</em> (returns an array of selected strings; since version 1.2179)</li>
|
||||
<li><em>Size(array)</em> (returns the number of items in an array; since version 1.2179)</li>
|
||||
<li><em>Known()</em> (returns a boolean indicating that the from/reply-to address is in the Android address book or in the local contacts database)</li>
|
||||
<li><em>knownContact()</em> (returns a boolean indicating that the from/reply-to address is in the Android address book or in the local contacts database)</li>
|
||||
</ul>
|
||||
<p>Example conditions:</p>
|
||||
<p><code>header("X-Mailer") contains "Open-Xchange" && from matches ".*service@.*"</code></p>
|
||||
|
|
Loading…
Reference in a new issue