Click or drag to resize
MimeKit

SmtpClientOnNoRecipientsAccepted Method

Invoked only when no recipients were accepted by the SMTP server.

Namespace: MailKit.Net.Smtp
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
protected virtual void OnNoRecipientsAccepted(
	MimeMessage message
)

Parameters

message  MimeMessage
The message being sent.
Remarks
If OnRecipientNotAccepted(MimeMessage, MailboxAddress, SmtpResponse) is overridden to not throw an exception, this method should be overridden to throw an appropriate exception instead.
See Also