Click or drag to resize

MimeDeliveryStatusNotification Class

Represents Delivery Status Notification (DSN) (message/delivery-status). Provides indications of successful delivery or delivery failure. It consists of two parts Root and Recipients.
Inheritance Hierarchy
SystemObject
  Limilabs.Mail.MIMEMimeBase
    Limilabs.Mail.MIMEMimeData
      Limilabs.Mail.MIMEMimeText
        Limilabs.Mail.MIMEMimeDeliveryStatusNotification

Namespace: Limilabs.Mail.MIME
Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntax
[SerializableAttribute]
public class MimeDeliveryStatusNotification : MimeText

The MimeDeliveryStatusNotification type exposes the following members.

Properties
 NameDescription
Public propertyAlternativeKey Gets the key that allows to recognize same content in Visuals collection. All parts under the same MultipartAlternative are assigned the same key.
(Inherited from MimeBase)
Public propertyArrivalDate Gets the date and time at which the message arrived at the Reporting MTA from Root.
Public propertyCharsetMatch Gets the result of matching content-type charset to Encoding.
(Inherited from MimeText)
Public propertyContentDisposition 'Content-Disposition' of the data. This object provides information on what you should do with the data.
(Inherited from MimeBase)
Public propertyContentId Content-ID of this entity. Without enclosing '<' and '>'. You can use ContentIdHelper to extract content id from cid url.
(Inherited from MimeBase)
Public propertyContentLocation Content location of this mime entity.
(Inherited from MimeBase)
Public propertyContentTransferEncoding Gets or sets 'Content-Transfer-Encoding' of the data. This object provides information on how the data was encoded for transport purposes. Please remember that setting Data may override content transfer encoding.
(Inherited from MimeData)
Public propertyContentType Content type of the body.
(Inherited from MimeBase)
Public propertyContentTypeHeader Represents 'Content-type' header. You can use this class to add additional options to content-type header. Use ContentType to get or set content-type only.
(Inherited from MimeBase)
Public propertyData Gets or sets byte array contained in this MIME object. When set, ContentTransferEncoding is updated using the most appropriate MimeEncoding value.
(Inherited from MimeData)
Public propertyDate Gets the date field from Root.
Public propertyEncoding Gets or sets encoding used to encode text contained in this MIME entity. When setting this property, Data property is re-set with value representing Text in new encoding.
(Inherited from MimeText)
Public propertyFileName Gets or sets suggested file name (FileName or IContentTypeHeader["name"]). May be null or empty. Consider using SafeFileName as it is guaranteed to contain valid file name.
(Inherited from MimeData)
Public propertyFirstRecipient Gets all Delivery Status Notification for first recipient, or null if no recipient is found.
Public propertyHasContentType Gets boolean value indicating, if content-type is explicitly set on this entity.
(Inherited from MimeBase)
Public propertyHasFileName Gets a boolean value indicating if FileName is set.
(Inherited from MimeData)
Public propertyHeaders MIME headers collection.
(Inherited from MimeBase)
Public propertyItem Gets any field defined in this Delivery Status Notification (DSN) root (Root.
Public propertyReceivedFromMTA Gets the name of the Message Transfer Agent (MTA) from which the message was received from Root.
Public propertyRecipients Gets RecipientDeliveryStatusNotification for all recipients.
Public propertyReportingMTA Gets the name of the Message Transfer Agent (MTA) which is reporting the results of delivery attempts described in this Delivery Status Notification (DSN) from Root.
Public propertyRoot Gets this Delivery Status Notification (DSN) root.
Public propertySafeFileName Gets suggested file name. All special characters and path are removed. If the FileName is not specified (HasFileName is false) generates random file name in format "att_d1be267b623941159a159158138a636e" and uses ContentType to establish correct extension.
(Inherited from MimeData)
Public propertySize Gets the size of data contained in this MIME object.
(Inherited from MimeData)
Public propertyText Gets or sets text data contained in this Mime object. Encoding is changed to UTF8 when setting.
(Inherited from MimeText)
Public propertyXApple2Mime Gets X-Apple2Mime header value. This header is added by Apple to MIME extractor. True means that this entity was extracted from ApplicationAppleFile or MultipartAppleDouble entity.
(Inherited from MimeData)
Public propertyXBinHex2Mime Gets X-BinHex2Mime header value. This header is added by BinHex to MIME extractor. True means that this entity was extracted from MimeBinHex.
(Inherited from MimeData)
Public propertyXRtfRenderingPosition Gets X-Rtf-RenderingPosition header value. This header is filled by TNEF to MIME with PR_RENDERING_POSITION MAPI value or by MSG to MIME parser. It indicates where in the message text the attachment should be rendered (in characters).
(Inherited from MimeData)
Public propertyXTnef2Mime Gets X-Tnef2Mime header value. This header is added by TNEF to MIME parser. True means that this entity was extracted from ApplicationMsTnef.
(Inherited from MimeData)
Public propertyXTnef2MimeAction Gets or sets 'X-Tnef2Mime-Action' header value.
Public propertyXTnef2MimeRenderingPosition Gets X-Tnef2Mime-RenderingPosition header value. This header is filled by TNEF to MIME parser with PR_RENDERING_POSITION MAPI value. It indicates where in the message text the attachment should be rendered (in characters).
(Inherited from MimeData)
Obsolete
Public propertyXUue2Mime Gets X-Uue2Mime header value. This header is added by UUE to MIME extractor. True means that this entity was extracted from Text.
(Inherited from MimeData)
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodEstimateTransportSize Gets the estimated transport size of this MIME entity. Bases on assumption that Base64, UUE and XUUE encoded files are 37% bigger in transport.
(Inherited from MimeData)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetMemoryStream Creates new MemoryStream for accessing Data property.
(Inherited from MimeData)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodLoadFromFile Uploads data from specified file into this MimeData entity. This method always resets FileName property.
(Inherited from MimeData)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRender Renders this MIME object.
(Inherited from MimeBase)
Public methodSave(Stream) Writes Data to specified stream. Stream must be open.
(Inherited from MimeData)
Public methodSave(String) Creates a new file with the specified name and saves Data into it.
(Inherited from MimeData)
Public methodSetFileName Sets the FileName and ContentType value if requested.
(Inherited from MimeData)
Public methodToString Returns content-type of this MIME object, file name if present, and first 50 chars of the text content.
(Inherited from MimeText)
Top
See Also