msys.bounce.classify
Last updated March 2020
Name
msys.bounce.classify — Create a bounce classification for a message
Synopsis
msys.bounce.classify(msg);
Description
This function takes a mail message (msys.core:_ec_message) and returns a tuple (code, code_string, description, orig_rcpt). code is a numerical classification code; code_string is the string representation of the code (such as BC_UNDETERMINED, BC_SOFT_TIMEOUT, etc); description is the textual description of the code; orig_rcpt is the original recipient of the mail. This function should be called only if a mail is an MDN. The bounce_classifier_override module must be configured for this function to produce the correct result.
Enable this function with the statement require('msys.bounce');.
See Also
Was this page helpful?