SendFailureThreshold Enumeration
Specifies whether TestSend(SendFailureThreshold) method should report error if sending failed to at least one recipient, or to all recipients.

Namespace: MailBee.SmtpMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
public enum SendFailureThreshold
  Member nameValueDescription
Default0 Use the same rules which are used when sending with Send methods. In "send to SMTP relay server" mode, AllowRefusedRecipients value is used. In direct send mode (through DNS MX lookup), failed recipients would be always allowed.
AnyRecipientsFailed1 Report error if at least one recipient is refused by the SMTP server, or any other error occurred (such as failed to resolve a domain into IP address, find SMTP MX server name for a domain, connect to an SMTP MX server, etc). Other recipients are not tested (i.e. the method completes once a failed recipient detected).
AllRecipientsFailed2 Report error if all recipients of the message failed, and the message cannot be sent to anybody of them.
See Also