MailBee.NET Objects 7.2

SendFailureThreshold Enumeration

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

public enum SendFailureThreshold

Members

Member Name Description
Default 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.
AnyRecipientsFailed 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).
AllRecipientsFailed Report error if all recipients of the message failed, and the message cannot be sent to anybody of them.

Requirements

Namespace: MailBee.SmtpMail

Assembly: MailBee.NET (in MailBee.NET.dll)

See Also

MailBee.SmtpMail Namespace