 | SmtpClientOnSenderAccepted Method |
Invoked when the sender is accepted by the SMTP server.
Namespace: MailKit.Net.SmtpAssembly: MailKit (in MailKit.dll) Version: 4.10.0
Syntaxprotected virtual void OnSenderAccepted(
MimeMessage message,
MailboxAddress mailbox,
SmtpResponse response
)
Parameters
- message MimeMessage
- The message being sent.
- mailbox MailboxAddress
- The mailbox used in the MAIL FROM command.
- response SmtpResponse
- The response to the MAIL FROM command.
Remarks
The default implementation does nothing.
See Also