ResultOriginalMessage Property |
A reference to the original mail message for which this DSN message was sent.
Namespace: MailBee.BounceMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public MailMessage OriginalMessage { get; }
Public ReadOnly Property OriginalMessage As MailMessage
Get
Property Value
Type:
MailMessageA
MailMessage object containing the part of the original e-mail message which was attached to the DSN message,
or a null reference (
Nothing in Visual Basic) if the original e-mail message was not attached.
Remarks Some mail servers may attach the original message (usually, only the header) to the DSN, others don't.
The default behavior is not defined.
During sending the original message, you may request the mail server (to which you're sending your message)
to include the entire message or its header in the bounce in case of non-delivery. You can use properties of
DeliveryNotification object to tune this behavior prior to sending the original message.
Examples See Also