RecipientStatus Class |
Namespace: MailBee.BounceMail
The RecipientStatus type exposes the following members.
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Common |
Gets the delivery status.
| |
Description |
Gets the description string from the DSN message.
| |
Detailed |
Gets the detailed delivery status.
| |
DsnInfo |
A reference to DsnRecipient object which provides
Delivery Status Notification data for the recipient.
| |
EmailAddress |
Gets the e-mail address of the recipient for which this RecipientStatus object applies.
| |
IsBounced |
Indicates whether this DSN message can be treated as a bounce e-mail.
| |
Source |
Gets or sets from which data the RecipientStatus object should return the recipient delivery status
information.
| |
UserDefined |
Gets the delivery status as a string.
|
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.