MailMessageMdnReportType Property
Gets or sets report-type value for Message Disposition Notification (MDN) messages.

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
public string MdnReportType { get; set; }

Property Value

Type: String
The value of report-type parameter of Content-Type header if this message is MDN. If this value is a null reference (Nothing in Visual Basic) or an empty string, the message is not MDN. The default value is a null reference.

For MDNs, typical values can be "delivery-status" or "disposition-notification". When this value is set and the message has attachments, MailBee will generate "multipart/report" Content-Type instead of "multipart/mixed".

To parse MDNs (such as bounced messages), you can use DeliveryStatusParser class.

See Also