SmtpThrowExceptions Property |
Namespace: MailBee.SmtpMail
Note |
---|
Even if this property is set to false, the exceptions which occur due to errors in MailBee usage will still be thrown. Typical examples of such errors are: passing invalid arguments to methods, calling methods or settings properties in illegal state (for instance, an attempt to start an asynchronous method while another asynchronous method is not yet finished), etc. Such exceptions indicate programming errors in the application being developed, and thus cannot be suppressed. |
ThrowExceptions property does not control whether to throw exceptions which occur due to logging errors (such as "log file cannot be written to", etc). To control whether logging exceptions should be thrown, the developer can use Log.DisableOnException property.