Skip to main content

msys.validate.dkim.verify_results_get_item

Last updated March 2020

Name

msys.validate.dkim.verify_results_get_item — Return the DKIM signature result at the specified index

Synopsis

msys.validate.dkim.verify_results_get_item(results, index_value);

results: string
index_value: number

Description

Return the DKIM signature result at the specified index. For an example of how this function is used see “msys.dkim.get_verify_results”.

**Configuration Change. ** This feature is available as of version 3.5.

Note: If results is nil then error is "No verification results to get item from" and if index_value is nil then error is Index value not specified" and if index_value is greater than the size of results then error is "Index value is greater than the number of verification results".

This function is valid in the validate_data_spool, data and data_spool_each_rcpt phases. Enable this function with the statement require('msys.validate.dkim');.

See Also

Was this page helpful?