Gets or sets the amount of time (in milliseconds) the failed SMTP MX server spends in quarantine.
The length of the period (in milliseconds) the failed SMTP MX server spends in quarantine. The default value is 1000 (1 second).
If the SMTP MX server could not be contacted SmtpMXMaxFailureCount times, it's set in quarantine for SmtpMXNextAttemptInterval milliseconds. During this interval, the server is not used (other servers used if any, or an error occurs if all the servers are in quarantine). When SmtpMXNextAttemptInterval elapses, MailBee may try this server again. If it fails again, it's been put in quarantine again (this time, SmtpMXMaxFailureCount will have no effect since the server is already known as dead).
Note This property will have no effect if DNS MX caching is disabled (Enabled is false).
| Exception Type | Condition |
|---|---|
| MailBeeInvalidArgumentException | value is negative. |
DnsCache Class | MailBee.DnsMX Namespace