msys.validate.dkim.reflect
Name
msys.validate.dkim.reflect — Send an email to receiver_addrs
regarding the validation result of the current message
Synopsis
msys.validate.dkim.reflect(msg, vctx, sender_addrs, receiver_addrs, subj, note);
msg: userdata, ec_message type vctx: userdata, validate_context type sender_addrs: string receiver_addrs: string subj: string, optional note: string, optional
Description
This function requires the dkim_validate module. It should be used before the data_validate phase to instruct the system to send an email to receiver_addrs
regarding the validation result of the current message.
-
msg
the inbound message to be validated by dkim_validate. -
vctx
validation context. -
sender_addr
the "from" address of reflective email. -
receiver_addrs
a list of addresses (separated by semi-colon) who are going to receive the reflective email. The first one will be used as "To" address of the reflective email and the rest will be used as "Bcc" addresses. -
subject
optional subject line for the reflective email. If omitted, a default subject line is used. -
note
optional text to be added to the reflective email. If omitted, a default text is used.
Enable this function with the statement require('msys.validate.dkim');
.