SmtpSendRequestOnSenderAccepted Method

Called when the sender is accepted by the SMTP server.

Definition

Namespace: MailKit.Net.Smtp
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public virtual void OnSenderAccepted(
	MailboxAddress sender,
	SmtpResponse response
)

Parameters

sender  MailboxAddress
The mailbox used in the MAIL FROM command.
response  SmtpResponse
The response to the MAIL FROM command.

Implements

ISmtpSendRequestOnSenderAccepted(MailboxAddress, SmtpResponse)

Remarks

Called when the sender is accepted by the SMTP server.

The default implementation does nothing.

See Also