SmtpServerAllowRefusedRecipients Property |
Namespace: MailBee.SmtpMail
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.