mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-08 15:36:12 +00:00
Updated FAQ
This commit is contained in:
parent
c0e2a360ee
commit
be4802bccc
2 changed files with 18 additions and 16 deletions
17
FAQ.md
17
FAQ.md
|
@ -2755,20 +2755,21 @@ Please [see here](https://ezylang.github.io/EvalEx/references/references.html) a
|
||||||
|
|
||||||
The following extra variables are available:
|
The following extra variables are available:
|
||||||
|
|
||||||
* from (array)
|
* *from* (array)
|
||||||
* to (array)
|
* *to* (array)
|
||||||
* subject
|
* *subject* (string)
|
||||||
* text
|
* *text* (string)
|
||||||
* hasAttachments
|
* *hasAttachments* (boolean)
|
||||||
|
|
||||||
The following extra operators are available:
|
The following extra operators are available:
|
||||||
|
|
||||||
* contains
|
* *contains* (contains substring)
|
||||||
* matches (=regex)
|
* *matches* (matches regex)
|
||||||
|
|
||||||
The following extra functions are available:
|
The following extra functions are available:
|
||||||
|
|
||||||
* header(name)
|
* *header(name)* (returns an array of header values for the named header)
|
||||||
|
* *blocklist()* (returns a boolean indicating if the sender/server is on a DNS blocklist; since version 1.2176)
|
||||||
|
|
||||||
Example condition:
|
Example condition:
|
||||||
|
|
||||||
|
|
17
index.html
17
index.html
|
@ -1499,20 +1499,21 @@ X-Google-Original-From: Somebody <somebody+extra@example.org></code></pre>
|
||||||
<p>Please <a href="https://ezylang.github.io/EvalEx/references/references.html">see here</a> about which constants, operators and functions are available.</p>
|
<p>Please <a href="https://ezylang.github.io/EvalEx/references/references.html">see here</a> about which constants, operators and functions are available.</p>
|
||||||
<p>The following extra variables are available:</p>
|
<p>The following extra variables are available:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>from (array)</li>
|
<li><em>from</em> (array)</li>
|
||||||
<li>to (array)</li>
|
<li><em>to</em> (array)</li>
|
||||||
<li>subject</li>
|
<li><em>subject</em> (string)</li>
|
||||||
<li>text</li>
|
<li><em>text</em> (string)</li>
|
||||||
<li>hasAttachments</li>
|
<li><em>hasAttachments</em> (boolean)</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>The following extra operators are available:</p>
|
<p>The following extra operators are available:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>contains</li>
|
<li><em>contains</em> (contains substring)</li>
|
||||||
<li>matches (=regex)</li>
|
<li><em>matches</em> (matches regex)</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>The following extra functions are available:</p>
|
<p>The following extra functions are available:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>header(name)</li>
|
<li><em>header(name)</em> (returns an array of header values for the named header)</li>
|
||||||
|
<li><em>blocklist()</em> (returns a boolean indicating if the sender/server is on a DNS blocklist; since version 1.2176)</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>Example condition:</p>
|
<p>Example condition:</p>
|
||||||
<p><code>header("X-Mailer") contains "Open-Xchange" && from matches ".*service@.*" && !hasAttachments</code></p>
|
<p><code>header("X-Mailer") contains "Open-Xchange" && from matches ".*service@.*" && !hasAttachments</code></p>
|
||||||
|
|
Loading…
Reference in a new issue