From 5d16bd8d7dcc0e902625f1a4853b35413cf31eaf Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 29 Apr 2024 13:32:15 +0200 Subject: [PATCH] Updated FAQ --- FAQ.md | 7 +++++-- index.html | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/FAQ.md b/FAQ.md index bf9fc0935f..c3a6aca6b0 100644 --- a/FAQ.md +++ b/FAQ.md @@ -2765,7 +2765,7 @@ The following extra variables are available: * *to* (array) * *subject* (string) * *text* (string) -* *hasAttachments* (boolean) +* *hasAttachments* (boolean; deprecated, use function *attachments()*) The following extra operators are available: @@ -2775,7 +2775,10 @@ The following extra operators are available: The following extra functions are available: * *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) +* *blocklist()* (version 1.2176-1.2178; deprecated) +* *onBlocklist()* (returns a boolean indicating if the sender/server is on a DNS blocklist; since version 1.2179) +* *hasMx()* (returns boolean indicating if the from/reply-to address has an associated MX record; since version 1.2179) +* *attachments()* (returns integer indicating number of attachments; since version 1.2179) Example condition: diff --git a/index.html b/index.html index 63a585f257..fb424a3dbc 100644 --- a/index.html +++ b/index.html @@ -1506,7 +1506,7 @@ X-Google-Original-From: Somebody <somebody+extra@example.org>
  • to (array)
  • subject (string)
  • text (string)
  • -
  • hasAttachments (boolean)
  • +
  • hasAttachments (boolean; deprecated, use function attachments())
  • The following extra operators are available: