msys.rfc3464.send_mdn

March 26, 2020

Name

msys.rfc3464.send_mdn — Generate and enqueue an MDN

Synopsis

msys.rfc3464.send_mdn(msg, action);

msg: userdata, ec_message type
action: number

Description

Generate and enqueue 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 1 if successful and 0 on failure.

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