ReadReceipt Method

Reads and parses (but does not verify) an MDN receipt.

Syntax

public void ReadReceipt(string filename);
Public Sub ReadReceipt(ByVal Filename As String)

Remarks

ReadReceipt will retrieve the file specified by Filename from the FTP server, and attempt to parse it as an MDN receipt. If the file is a valid MDN receipt, the component will determine the originator of the receipt and the MessageId of the original message. The originator of the receipt will be stored in AS3To, the intended recipient (presumably your system) will be stored in AS3From, and the original message Id will be stored in MessageId.

Pass in an empty string to skip the FTP transfer, and process the receipt specified by the MDNReceipt property instead.

You should then look up the original message and set OriginalContentMIC to the value of OriginalContentMIC originally computed when the message was sent (you will need to save this information externally). You should also set RecipientCert based on the value of AS3To if necessary. Also, set MDNOptions to the value used when making the original request.

Finally, VerifyReceipt should be used to verify the receipt.

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