IPWorks EDI 2020 JavaScript Edition

Questions / Feedback?

MailMessageNumber Property

The message number on the incoming mail server.

Syntax


 getMailMessageNumber(): number;

async  setMailMessageNumber(mailMessageNumber: number): void;

Default Value

0

Remarks

MailMessageNumber specifies a number between 1 and MailMessageCount, and serves as a message pointer to an incoming mail message. Properties such as MailMessageHeaders, MailMessageDate, MailMessageFrom, etc., allow you to determine if this message is an AS1 message. Additional properties are exposed via the Config method.

If this message is an AS1 receipt (MDN), you may use ReadReceipt to read it. The MDNReceipt will be populated with the receipt, and SendTo will be populated with the email address of the originator. (Recall that From and SendTo correspond to the originator and recipient of the original AS1 transmission.) You may then set trading partner information and invoke VerifyReceipt to verify the receipt.

This property is not available at design time.

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