MailMessageMdnReportType Property |
Gets or sets report-type value for Message Disposition Notification (MDN) messages.
Namespace: MailBee.MimeAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public string MdnReportType { get; set; }
Public Property MdnReportType As String
Get
Set
Property Value
Type:
StringThe 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.
Remarks 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