Updated FAQ

This commit is contained in:
M66B 2024-04-19 07:44:49 +02:00
parent 9b8638f3f4
commit 0a107467ec
2 changed files with 16 additions and 10 deletions

14
FAQ.md
View File

@ -2757,19 +2757,23 @@ The following extra variables are available:
* from (array) * from (array)
* to (array) * to (array)
* subject (array) * subject
* text (array) * text
* hasAttachments (boolean) * hasAttachments
The following extra operators are available: The following extra operators are available:
* (array) contains * contains
* (array) matches (=regex) * matches (=regex)
The following extra functions are available: The following extra functions are available:
* header(name) * header(name)
Example condition:
```header("X-Mailer") contains "Open-Xchange" && from matches ".*service@.*" && !hasAttachments```
<br> <br>
**Actions** **Actions**

View File

@ -1501,19 +1501,21 @@ X-Google-Original-From: Somebody &lt;somebody+extra@example.org&gt;</code></pre>
<ul> <ul>
<li>from (array)</li> <li>from (array)</li>
<li>to (array)</li> <li>to (array)</li>
<li>subject (array)</li> <li>subject</li>
<li>text (array)</li> <li>text</li>
<li>hasAttachments (boolean)</li> <li>hasAttachments</li>
</ul> </ul>
<p>The following extra operators are available:</p> <p>The following extra operators are available:</p>
<ul> <ul>
<li>(array) contains</li> <li>contains</li>
<li>(array) matches (=regex)</li> <li>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>header(name)</li>
</ul> </ul>
<p>Example condition:</p>
<p><code>header("X-Mailer") contains "Open-Xchange" &amp;&amp; from matches ".*service@.*" &amp;&amp; !hasAttachments</code></p>
<p><br></p> <p><br></p>
<p><strong>Actions</strong></p> <p><strong>Actions</strong></p>
<p>You can select one of these actions to apply to matching messages:</p> <p>You can select one of these actions to apply to matching messages:</p>