RecipientStatus Class
Represents the delivery results for a particular recipient's e-mail address.
Inheritance Hierarchy
SystemObject
  MailBee.BounceMailRecipientStatus

Namespace: MailBee.BounceMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public class RecipientStatus

The RecipientStatus type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyCommon
Gets the delivery status.
Public propertyDescription
Gets the description string from the DSN message.
Public propertyDetailed
Gets the detailed delivery status.
Public propertyCode exampleDsnInfo
A reference to DsnRecipient object which provides Delivery Status Notification data for the recipient.
Public propertyEmailAddress
Gets the e-mail address of the recipient for which this RecipientStatus object applies.
Public propertyIsBounced
Indicates whether this DSN message can be treated as a bounce e-mail.
Public propertySource
Gets or sets from which data the RecipientStatus object should return the recipient delivery status information.
Public propertyUserDefined
Gets the delivery status as a string.
Top
Remarks

You can use this object to examine the delivery status for a particular recipient. This information includes the e-mail address, the type of the status (e.g. not delivered, delivered, etc), and other information.

To obtain this object for every recipient listed in the DSN message, call Process(MailMessage) method and iterate through the Recipients collection of the returned Result object.

To obtain information which is not specific to a particular recipient but is the same for all recipients (such as the header of the original message or its unique tracking id assigned by the sending software), use other properties of Result object. For instance, if you previously set Smtp.DeliveryNotification.TrackingID for e-mails you sent out and now want to find this tracking ID in the bounced messages, you will need to use Result.DsnStructure.OriginalEnvelopeID property.

Examples
The example is available in DeliveryStatusParser topic.
See Also