msys.validate.dkim.verify_results_get_count

March 26, 2020

Name

msys.validate.dkim.verify_results_get_count — return a count of verification results

Synopsis

msys.validate.dkim.verify_results_get_count(results);

results: string

Description

A message can contain zero or more DKIM signatures. If more than one signature is found in a message, they are normally found in the different parts of a multi-part MIME type message. Each signature will be validated and one verification result will be created for each signature. This function returns the number of verification results.

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

Note: If results is nil then error is set to "No verification results to count."

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

msys.validate.dkim.verify_status_to_string, msys.validate.dkim.get_verify_results, msys.validate.dkim.verify_results_get_item