Represents the result checking an e-mail message for delivery status notification (DSN) entries.
For a list of all members of this type, see Result Members.
System.Object
MailBee.BounceMail.Result
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
Use Process method to get Result object for a DSN message.
Result object provides access to the Recipients collection of RecipientStatus objects which represent all recipients listed in the DSN message. Iterate through this collection to examine the delivery status for every recipient's e-mail address.
You can also use OriginalMessage property to get the e-mail message (usually, only its header) for which this DSN message was sent (i.e. you sent a message, it was not delivered to certain recipients and you got a DSN telling you that; the header of the original message you sent may be available in OriginalMessage property).
Use DsnStructure property to examine the DSN attachment (if available). This is alternative approach to examining Recipients collection, it should only be used in special cases when you need to extract specific information from the DSN attachment (for instance, you can use OriginalEnvelopeID property of DsnStructure object to match it to Smtp.DeliveryNotification.TrackingID of the e-mails you sent earlier).
The example is available in DeliveryStatusParser topic.
Namespace: MailBee.BounceMail
Assembly: MailBee.NET (in MailBee.NET.dll)
Result Members | MailBee.BounceMail Namespace | Process