Skip to main content


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


msys.rfc3464.compute_delivery_status(msg, action);

msg: userdata, ec_message type
action: number


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

Was this page helpful?