The table that follows lists the item codes for the item_code argument passed to mtaDecodeMessage(). The list of item codes must be terminated with an item code with a value of 0.
Item Codes |
Additional Arguments |
Description |
---|---|---|
MTA_DECODE_LEVELS_MAX |
max_levels |
Place an upper limit on the depth of nested MIME multiparts that will be parsed. When this limit is reached no further parsing of deeper, nested multiparts is performed and the parts handed over for inspection include as text content these deeper, nested multiparts. By default, no limit is imposed. When dealing with looping notification messages, it is possible for the looping message to become deeply nested. This item code must be followed by one additional call argument whose value is the integer-valued upper limit to impose: max_levels. |
MTA_DECODE_PARTS_MAX |
max_parts |
Place an upper limit on the total number of message parts that will be parsed. When this limit is reached, no further parsing of parts is performed. By default, no limit is imposed. This item code must be followed by one additional call argument whose value is the integer-valued part limit to impose: max_parts. |
MTA_DECODE_THRURMAN |
None |
When specified, the MIME parser will first translate non-MIME formatted data to MIME. By default this translation is not performed. |
MTA_ITEM_LIST |
mta_item_list_t *item_list |
Specify a pointer to an item list array. The item list array must be terminated with a final array entry with an item code value of 0. For further information on item lists, see Item Codes and Item Lists. |
MTA_TERM_CR |
None |
Data supplied by the input routine, pointed to by the input argument, uses a single byte carriage return terminator to terminate each line of message data. This option is ignored when input_type has the value MTA_DECODE_DQ. |
MTA_TERM_CRLF |
None |
Data supplied by the input routine, pointed to by the input argument, uses a two byte carriage-return line-feed terminator to terminate each line of message data. This option is ignored when input_type has the value MTA_DECODE_DQ. |
MTA_TERM_LF |
None |
Data supplied by the input routine, pointed to by the input argument, uses a single byte line-feed terminator to terminate each line of message data. This option is ignored when input_type has the value MTA_DECODE_DQ. |
MTA_TERM_LFCR |
None |
Data supplied by the input routine, pointed to by the input argument, uses a two byte line-feed carriage-return terminator to terminate each line of message data. This option is ignored when input_type has the value MTA_DECODE_DQ. |
MTA_TERM_NONE |
None |
Data supplied by the input routine, pointed to by the input argument, uses no line terminators. Each call to the input routine returns a single, complete line of message data. This option is ignored when input_type has the value MTA_DECODE_DQ. |