DsnRecipient Class
Contains the delivery status and other details for a single recipient listed in the DSN attachment.
Inheritance Hierarchy
SystemObject
  MailBee.BounceMailDsnRecipient

Namespace: MailBee.BounceMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public class DsnRecipient

The DsnRecipient 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 all DSN fields as a string.
(Overrides ObjectToString.)
Top
Properties
  NameDescription
Public propertyAction
Gets the DSN action type for the e-mail address.
Public propertyDiagnosticCode
Gets the diagnostic code.
Public propertyDiagnosticCodeType
Gets the diagnostic code type.
Public propertyFinalRecipientAddress
Gets the e-mail address of the final recipient.
Public propertyFinalRecipientType
Gets the type of the final recipient e-mail address as string.
Public propertyIsLinked
Indicates if the DSN is linked to a certain RecipientStatus object.
Public propertyCode exampleItems
Gets a StringDictionary collection of the DSN fields.
Public propertyLastAttemptDate
Gets the last attempt date of sending.
Public propertyLastAttemptDateAsString
Gets the string representation of the last attempt date of sending.
Public propertyOriginalRecipientAddress
Gets the e-mail address of the original recipient.
Public propertyOriginalRecipientType
Gets the type of the original recipient e-mail address as string.
Public propertyRemoteMtaName
Gets the remote MTA name.
Public propertyRemoteMtaType
Gets the remote MTA type.
Public propertyStatus
Gets the string description of the status and the dot-numeric status code.
Public propertyWillRetryUntil
Gets the date of "will retry until date".
Public propertyWillRetryUntilAsString
Gets the string representation of "will retry until date".
Top
Remarks

In most cases, it's easier to use RecipientStatus object instead of DsnRecipient because RecipientStatus is more general. Use DsnRecipient object only if you need to examine particular fields of the DSN attachment. For general tasks (find the e-mail address for which your e-mail was not delivered), use RecipientStatus object.

To get DsnRecipient, use DsnInfo property. Or, if you have DsnAttachment object, use Recipients property to get the collection of DsnRecipient objects representing all recipients listed in the DSN attachment.

Examples
The example is available in Items topic.
See Also