DsnAttachment Constructor |
Creates a new instance of
DsnAttachment class from the specified
attachment.
Namespace: MailBee.BounceMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public DsnAttachment(
Attachment dsnAttach,
Encoding enc
)
Public Sub New (
dsnAttach As Attachment,
enc As Encoding
)
Parameters
- dsnAttach
- Type: MailBee.MimeAttachment
The attachment containing DSN data. - enc
- Type: System.TextEncoding
The encoding to use for decoding the attachment data from bytes to strings.
If a null reference (Nothing in Visual Basic), the encoding will be determined from
the attachment header (Attachment.AsMimePart.Charset).
Exceptions Remarks See Also