SmtpMessageRecipientSubmittedEventArgsAllowRefusedRecipient Property
Gets or sets whether to proceed with sending this message if the server rejected the given recipient.

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

Property Value

Type: Boolean
If true or Result is true, will proceed with sending the message; if false and Result is also false, MailBee throw MailBeeSmtpRefusedRecipientException. The default value is SmtpServer.AllowRefusedRecipients.
Remarks

You can set this property value to false in case if you encounter that an important recipient was rejected by the server (this requires you to allow failed recipients first by setting SmtpServer.AllowRefusedRecipients to true.

Or, you can leave SmtpServer.AllowRefusedRecipients in its default state false (so that failed recipients would generally not be allowed) but set AllowRefusedRecipient to true for some particular recipients which you find not important.

See Also