@ -3028,6 +3028,7 @@ The following extra operators are available:
The following extra functions are available:
The following extra functions are available:
* *header("name")* (returns an array of header values for the named header)
* *header("name")* (returns an array of header values for the named header)
* *message("language")* returns the two letter [ISO language code](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) of a message; note that it cannot always be determined and that it can be incorrect (since version 1.2330)
* *blocklist()* (version 1.2176-1.2178; deprecated, use *onBlocklist()* instead)
* *blocklist()* (version 1.2176-1.2178; deprecated, use *onBlocklist()* instead)
* *onBlocklist()* (returns a boolean indicating if the sender/server is on a DNS blocklist; since version 1.2179)
* *onBlocklist()* (returns a boolean indicating if the sender/server is on a DNS blocklist; since version 1.2179)
* *hasMx()* (returns a boolean indicating if the from/reply-to address has an associated MX record; since version 1.2179)
* *hasMx()* (returns a boolean indicating if the from/reply-to address has an associated MX record; since version 1.2179)
@ -3050,6 +3051,8 @@ Example conditions:
```AI("Is the message below a scam? Answer in English with just yes or no.") contains "yes"```
```AI("Is the message below a scam? Answer in English with just yes or no.") contains "yes"```
<p>The following extra functions are available:</p>
<p>The following extra functions are available:</p>
<ul>
<ul>
<li><em>header(“name”)</em> (returns an array of header values for the named header)</li>
<li><em>header(“name”)</em> (returns an array of header values for the named header)</li>
<li><em>message(“language”)</em> returns the two letter <ahref="https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes">ISO language code</a> of a message; note that it cannot always be determined and that it can be incorrect (since version 1.2330)</li>
<li><em>blocklist()</em> (version 1.2176-1.2178; deprecated, use <em>onBlocklist()</em> instead)</li>
<li><em>blocklist()</em> (version 1.2176-1.2178; deprecated, use <em>onBlocklist()</em> instead)</li>
<li><em>onBlocklist()</em> (returns a boolean indicating if the sender/server is on a DNS blocklist; since version 1.2179)</li>
<li><em>onBlocklist()</em> (returns a boolean indicating if the sender/server is on a DNS blocklist; since version 1.2179)</li>
<li><em>hasMx()</em> (returns a boolean indicating if the from/reply-to address has an associated MX record; since version 1.2179)</li>
<li><em>hasMx()</em> (returns a boolean indicating if the from/reply-to address has an associated MX record; since version 1.2179)</li>