From c2596a560f97be7a9d2db76b0004c271921b94cc Mon Sep 17 00:00:00 2001 From: Tino Hager Date: Mon, 4 Aug 2025 13:48:19 +0200 Subject: [PATCH] Update SmtpServerOptionsBuilder.cs --- Src/SmtpServer/SmtpServerOptionsBuilder.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Src/SmtpServer/SmtpServerOptionsBuilder.cs b/Src/SmtpServer/SmtpServerOptionsBuilder.cs index 7516728..1c9b46e 100644 --- a/Src/SmtpServer/SmtpServerOptionsBuilder.cs +++ b/Src/SmtpServer/SmtpServerOptionsBuilder.cs @@ -165,10 +165,10 @@ public SmtpServerOptionsBuilder CommandWaitTimeout(TimeSpan value) /// /// A delegate that returns the greeting message to send to the client, /// based on the (e.g., client IP, TLS state). - /// Example: ctx => $"220 {sessionContext.ServerOptions.ServerName} ESMTP ready" + /// Example: sessionContext => $"220 {sessionContext.ServerOptions.ServerName} ESMTP ready" /// /// An OptionsBuilder to continue building on. - public SmtpServerOptionsBuilder CustomGreetingMessage(Func smtpGreetingFunc) + public SmtpServerOptionsBuilder CustomSmtpGreeting(Func smtpGreetingFunc) { _setters.Add(options => options.CustomSmtpGreeting = smtpGreetingFunc);