DsnRecipient Class |
Namespace: MailBee.BounceMail
The DsnRecipient 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 all DSN fields as a string.
(Overrides ObjectToString.) |
Name | Description | |
---|---|---|
Action |
Gets the DSN action type for the e-mail address.
| |
DiagnosticCode |
Gets the diagnostic code.
| |
DiagnosticCodeType |
Gets the diagnostic code type.
| |
FinalRecipientAddress |
Gets the e-mail address of the final recipient.
| |
FinalRecipientType |
Gets the type of the final recipient e-mail address as string.
| |
IsLinked |
Indicates if the DSN is linked to a certain RecipientStatus object.
| |
Items |
Gets a StringDictionary collection of the DSN fields.
| |
LastAttemptDate |
Gets the last attempt date of sending.
| |
LastAttemptDateAsString |
Gets the string representation of the last attempt date of sending.
| |
OriginalRecipientAddress |
Gets the e-mail address of the original recipient.
| |
OriginalRecipientType |
Gets the type of the original recipient e-mail address as string.
| |
RemoteMtaName |
Gets the remote MTA name.
| |
RemoteMtaType |
Gets the remote MTA type.
| |
Status |
Gets the string description of the status and the dot-numeric status code.
| |
WillRetryUntil |
Gets the date of "will retry until date".
| |
WillRetryUntilAsString |
Gets the string representation of "will retry until date".
|
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.