msys.rfc3464.compute_delivery_status

March 26, 2020

Name

msys.rfc3464.compute_delivery_status — Generate RFC3464 compliant delivery status headers

Synopsis

msys.rfc3464.compute_delivery_status(msg, action);

msg: userdata, ec_message type
action: number

Description

Generates RFC3464 compliant delivery status headers. It takes two inputs: msg and action. msg is an msys.core:_ec_message and action is one of the following integers: msys.core.FAILED, msys.core.DELAYED, msys.core.DELIVERED, msys.core.RELAYED and msys.core.EXPANDED. Returns a table of header/value pairs.

Enable this function with the statement require('msys.rfc3464');.

See Also

msys.rfc3464.compute_delivery_status_string