AttachmentCollectionThrowExceptions Property
Gets or sets whether the object will throw exceptions on errors.

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public bool ThrowExceptions { get; }

Property Value

Type: Boolean
true if the Attachment object will throw exceptions on errors; otherwise, false. The default value is true.
Remarks
If this property is set to true and an error occurs, an exception derived from MailBeeException is thrown. Otherwise, the last occurred error is contained in the LastResult property. The list of all error codes is available in the ErrorCodes class overview.
Examples
See Also