msys.rfc3464.create_mdn

March 26, 2020

Name

msys.rfc3464.create_mdn — Generate an MDN from a message

Synopsis

msys.rfc3464.create_mdn(msg, action);

msg: userdata, ec_message type
action: number

Description

Generates an MDN from the input msg. action can be one of msys.core.FAILED, msys.core.DELAYED, msys.core.DELIVERED, msys.core.RELAYED and msys.core.EXPANDED. Returns the generated MDN.

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