ISmtpSendRequestOnNoRecipientsAccepted Method

Called when none of the recipients were accepted by the SMTP server.

Definition

Namespace: MailKit.Net.Smtp
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
void OnNoRecipientsAccepted()

Remarks

Called when none of the recipients were accepted by the SMTP server.

This method is only called if OnRecipientNotAccepted(MailboxAddress, SmtpResponse) does not throw. If this method does not throw an exception, an SmtpCommandException will be thrown.

See Also