MailBee.BounceMail namespace provides classes and enumerations which can be used to process bounce e-mails, delivery confirmations and any other Delivery Status Notification (DSN) messages.
DSN messages come in different formats and may contain information about the status of delivery of certain e-mail sent in the past (the original message) to certain recipients of that e-mail. MailBee can extract this information and present it to you in easy-to-use object model form.
Typical usage is to download e-mails from a mailbox using Pop3 or Imap component and then examine these e-mails using DeliveryStatusParser.Process method to find delivery or non-delivery reports.
Result object returned by DeliveryStatusParser.Process method contains all the DSN-related information extracted from the e-mail message. In particular, Result.Recipients collection returns the delivery statuses for all recipients listed in the DSN message.
| Class | Description |
|---|---|
| DeliveryStatusParser | Provides a method for examining e-mail messages for delivery or non-delivery notifications. |
| DsnAttachment | Represents a Delivery Status Notification attachment in RFC 1894 format. |
| DsnRecipient | Contains the delivery status and other details for a single recipient listed in the DSN attachment. |
| DsnRecipientCollection | Represents a collection of delivery status information objects for all recipients listed in the DSN attachment. |
| RecipientStatus | Represents the delivery results for a particular recipient's e-mail address. |
| RecipientStatusCollection | Represents a collection of delivery status information objects for all recipients listed in the DSN message. |
| Result | Represents the result checking an e-mail message for delivery status notification (DSN) entries. |
| Enumeration | Description |
|---|---|
| CommonType | Defines the general types of delivery statuses in delivery notification messages. |
| DetailedType | Defines the extended types of delivery notification messages. |
| DsnAction | Defines actions which have been performed by the Reporting-MTA as a result of its attempt to deliver the message to the recipient. |
| RecipientStatusSource | Defines from which parts of the DSN message MailBee should load RecipientStatus object. |