Hello,
I need to handle DLR messages (Delivery Report).
I found a related article but describes only how to handle Failed DLR messages. https://www.limilabs.com/blog/bounce-handling
Could you please help me how to handle also Success DLR messages?
Thank you
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) { }