2.1.3.6.1 Generating Delivery Status Notification Messages

To generate a delivery status notification, as specified in [RFC3464], the MIME writer does the following additional processing to generate the message/delivery-status body part:

  1. The MIME writer writes the value of the PidTagReportingMessageTransferAgent property ([MS-OXOMSG] section 2.2.2.35) to the Reporting-MTA field. If the PidTagReportingMessageTransferAgent property is not present, the MIME writer uses the name of the computer where the MIME writer is located.

  2. For each recipient in the message's recipient table:

    1. The MIME writer writes the recipient's SMTP address to the Final-Recipient field for the recipient.

    2. The MIME writer writes a value to the Action field for the recipient based on the value of the PidTagMessageClass property ([MS-OXCMSG] section 2.2.1.3) on the message, as specified in section 2.1.3.6.1.1.

    3. The MIME writer writes a value to the Status field for the recipient based on the values of the PidTagNonDeliveryReportDiagCode property ([MS-OXOMSG] section 2.2.2.30) and PidTagNonDeliveryReportReasonCode property ([MS-OXOMSG] section 2.2.2.31) on the recipient, as specified in section 2.1.3.6.1.2.

    4. If the PidTagRemoteMessageTransferAgent property ([MS-OXOMSG] section 2.2.2.34) is present on the recipient, the MIME writer writes its value to the Remote-MTA field for the recipient.

    5. If the PidTagSupplementaryInfo property ([MS-OXOMSG] section 2.2.2.36) is present on the recipient, the MIME writer writes its value to the X-Supplementary-Info field for the recipient.

    6. If the PidTagDisplayName property is present on the recipient and its value is not the same as the recipient's SMTP address, the MIME writer writes its value to the X-Display-Name field for the recipient.

Show: