NonDeliveryReportData
MSMQMailEMail

The NonDeliveryReportData property defines a non-delivery report. The non-delivery report lists the recipients who did not receive the original e-mail.

This property is only meaningful if ContentType is set to MSMQMAIL_EMAIL_NON_DELIVERY_REPORT.

Type: MSMQMailNonDeliveryReportData
Run time: Read-write

Syntax

object.NonDeliveryReportData
 
Syntax Element Description
object E-mail message (MSMQMailEMail) object that defines the e-mail message.

Settings

MSMQMailNonDeliveryReportData object.

Remarks

When defining a non-delivery report, set ContentType to MSMQMAIL_EMAIL_NON_DELIVERY_REPORT whenever NonDeliveryReportData is set.

After parsing an MSMQ mail message, verify that ContentType is set to MSMQMAIL_EMAIL_NON_DELIVERY_REPORT, before looking at NonDeliveryReportData. This property is empty if ContentType indicates another e-mail type.

QuickInfo

  Windows NT: Requires version 4.0 SP3 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Import Library: Included as a resource in mqmailoa.dll.
  Unicode: Defined only as Unicode.