From be4802bccc48c76b803f8f2c5f2ecc8e6e65af94 Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 22 Apr 2024 15:16:25 +0200 Subject: [PATCH] Updated FAQ --- FAQ.md | 17 +++++++++-------- index.html | 17 +++++++++-------- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/FAQ.md b/FAQ.md index bf63ef73e7..ec1256ae98 100644 --- a/FAQ.md +++ b/FAQ.md @@ -2755,20 +2755,21 @@ Please [see here](https://ezylang.github.io/EvalEx/references/references.html) a The following extra variables are available: -* from (array) -* to (array) -* subject -* text -* hasAttachments +* *from* (array) +* *to* (array) +* *subject* (string) +* *text* (string) +* *hasAttachments* (boolean) The following extra operators are available: -* contains -* matches (=regex) +* *contains* (contains substring) +* *matches* (matches regex) 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: diff --git a/index.html b/index.html index 289a6fdf52..4766a294c5 100644 --- a/index.html +++ b/index.html @@ -1499,20 +1499,21 @@ X-Google-Original-From: Somebody <somebody+extra@example.org>

Please see here about which constants, operators and functions are available.

The following extra variables are available:

The following extra operators are available:

The following extra functions are available:

Example condition:

header("X-Mailer") contains "Open-Xchange" && from matches ".*service@.*" && !hasAttachments