SmtpSendRequestOnNoRecipientsAccepted 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#
public virtual void OnNoRecipientsAccepted()

Implements

ISmtpSendRequestOnNoRecipientsAccepted

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.

The default implementation does nothing.

See Also