CommonType Enumeration
Defines the general types of delivery statuses in delivery notification messages.

Namespace: MailBee.BounceMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
public enum CommonType
  Member nameValueDescription
Undeliverable0 The message was not delivered to the recipient.
Blocked1 The message was blocked by the client side.
Information2 An informational notification was issued to the sender.
Warning3 Mail transfer software issued a warning while delivering the message.
Receipt4 The receipt generated after delivering the message.
UserDefined5 You can find the type of the delivery notification message using ResultItem.UserDefined property.
Unknown6 An unknown notification message.

Since a delivery status notification (DSN) message may contain delivery reports for multiple recipients of the original e-mail message, the delivery status might be available for each recipient separately.

To determine if an e-mail is a bounce (non-delivery report) for the given recipient, use Common or IsBounced properties if you have RecipientStatus object for that recipient.

Process(MailMessage) method returns the collection of RecipientStatus objects in Recipients property. This collection contains delivery statuses for all recipients in the DSN message. To get the e-mail address of the particular recipient, use EmailAddress property of the RecipientStatus object. For autoreply messages, it can be not available and you'll need to use From property.

If, for some reason, you are using DsnRecipient class instead of RecipientStatus, you can use Action property to learn the delivery status. Action property uses values of DsnAction type which provides DSN statuses exactly as they are specified in the DSN attachment of the DSN message. Action property value won't be available in the case if the DSN message does not have a DSN attachment (see DsnAttachment topic for details). Common property is more general. If Action is available, MailBee initializes Common from it. If the message does not have a DSN attachment (and Action is not available), MailBee extracts this information from the message body.

See Also