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 |
object.NonDeliveryReportData
Syntax Element | Description |
object | E-mail message (MSMQMailEMail) object that defines the e-mail message. |
MSMQMailNonDeliveryReportData object.
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.