0 votes


I need to handle DLR messages (Delivery Report).

I found a related article but describes only how to handle Failed DLR messages.

Could you please help me how to handle also Success DLR messages?

Thank you

by (1.2k points)

1 Answer

0 votes

As long as message contains standardized Delivery Status Notification (DSN) report - message/delivery-status you can use IMail.DeliveryStatuses property:

IMail email = ...
foreach (MimeDeliveryStatusNotification dsn in email.DeliveryStatuses)

by (298k points)