IPWorks EDI 2020 Python Edition

Questions / Feedback?

create_mdn_receipt Method

Creates MDNReceipt .

Syntax

def create_mdn_receipt(headers: str, mdn: str, message: str) -> None: ...

Remarks

CreateMDNReceipt may be invoked after parse_request to create an MDN-based receipt. The receipt will report success or failure depending on ErrorReportingFlags and the success or failure of parse_request.

This method populates mdn_receipt with a new MDNReceipt. The Headers, MDN, and Message parameters can be used to further customize the receipt, or empty string ("") parameters may be set to use the class generated defaults. Headers will set additional transport headers to be sent with the receipt (in the HTTP or SMTP headers of the signed receipt). MDN can be used to append additional headers to the Message Disposition Notification portion of the MDN Receipt. If MDN is set to a value prefixed with an at sign ("@"), the at sign will be removed and the specified MDN will be used in the receipt in place of the component generated value. Message will set the human-readable portion of the receipt, and should describe any error conditions that may have occurred.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 Python Edition - Version 20.0 [Build 8203]