msys.rfc3464.extract_delivery_status

March 26, 2020

Name

msys.rfc3464.extract_delivery_status — Return a table of parsed email headers

Synopsis

msys.rfc3464.extract_delivery_status(msg);

msg: userdata, ec_message type

Description

This function parses the headers of the mail and returns a table of successfully parsed header/values. msg is an RFC3464 MDN. If msg is not an MDN or the headers cannot be parsed, this function will return a nil.

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