Creates a new instance of DsnAttachment class from the specified attachment.
This constructor is useful if you need to create DsnAttachment object from arbitrary data, not from MailMessage object. See DsnAttachment class description for details.
| Exception Type | Condition |
|---|---|
| MailBeeInvalidArgumentException | dsnAttach is a null reference or its Content-Type is not "message/delivery-status" (not a DSN). |
DsnAttachment Class | MailBee.BounceMail Namespace