MailBee.NET Objects 7.2

RecipientStatus Class

Represents the delivery results for a particular recipient's e-mail address.

For a list of all members of this type, see RecipientStatus Members.

System.Object
   MailBee.BounceMail.RecipientStatus

public class RecipientStatus

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

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 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.

Example

The example is available in DeliveryStatusParser topic.

Requirements

Namespace: MailBee.BounceMail

Assembly: MailBee.NET (in MailBee.NET.dll)

See Also

RecipientStatus Members | MailBee.BounceMail Namespace