Code
·
11 lines
·
295 bytes
1
2
3
4
5
6
7
8
9
10
11using MailSharp.SMTP.Extensions;
namespace MailSharp.SMTP.Session;
public partial class SmtpSession
{
// Handle NOOP command
private async Task HandleNoopAsync(string[] parts, string line, CancellationToken ct)
{
await writer.WriteLineAsync(configuration["SmtpResponses:Ok"], ct);
}
}