SmtpServerAllowRefusedRecipients Property
Gets or sets whether refused recipients should be allowed when submitting a mail message to the server.

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

Property Value

Type: Boolean
A boolean value specifying whether refused recipients should be allowed when submitting a mail message to the server. The default value is true.
Remarks

If this property is true, MailBee will send the message if at least one recipient has been accepted by the server. The developer can subscribe to ErrorOccurred warning event to keep track of occurrences of this event in order to receive notification when certain recipient gets refused. Or, the developer can just call GetRefusedRecipients method after sending the message to get the list of refused recipients.

The developer can also subscribe to MessageRecipientSubmitted event and control whether to allow or disallow failed recipients for every recipient separately.

See Also