diff --git a/FAQ.md b/FAQ.md index de731bb6d3..bf63ef73e7 100644 --- a/FAQ.md +++ b/FAQ.md @@ -2757,19 +2757,23 @@ The following extra variables are available: * from (array) * to (array) -* subject (array) -* text (array) -* hasAttachments (boolean) +* subject +* text +* hasAttachments The following extra operators are available: -* (array) contains -* (array) matches (=regex) +* contains +* matches (=regex) The following extra functions are available: * header(name) +Example condition: + +```header("X-Mailer") contains "Open-Xchange" && from matches ".*service@.*" && !hasAttachments``` +
**Actions** diff --git a/index.html b/index.html index 0b9de9efc9..289a6fdf52 100644 --- a/index.html +++ b/index.html @@ -1501,19 +1501,21 @@ X-Google-Original-From: Somebody <somebody+extra@example.org>

The following extra operators are available:

The following extra functions are available:

+

Example condition:

+

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


Actions

You can select one of these actions to apply to matching messages: