Skip to content

Commit c6c7b15

Browse files
authored
Update SmtpServerOptionsBuilder.cs (#257)
1 parent d41e2f0 commit c6c7b15

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Src/SmtpServer/SmtpServerOptionsBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,10 @@ public SmtpServerOptionsBuilder CommandWaitTimeout(TimeSpan value)
165165
/// <param name="smtpGreetingFunc">
166166
/// A delegate that returns the greeting message to send to the client,
167167
/// based on the <see cref="ISessionContext"/> (e.g., client IP, TLS state).
168-
/// Example: <c>ctx => $"220 {sessionContext.ServerOptions.ServerName} ESMTP ready"</c>
168+
/// Example: <c>sessionContext => $"220 {sessionContext.ServerOptions.ServerName} ESMTP ready"</c>
169169
/// </param>
170170
/// <returns>An OptionsBuilder to continue building on.</returns>
171-
public SmtpServerOptionsBuilder CustomGreetingMessage(Func<ISessionContext, string> smtpGreetingFunc)
171+
public SmtpServerOptionsBuilder CustomSmtpGreeting(Func<ISessionContext, string> smtpGreetingFunc)
172172
{
173173
_setters.Add(options => options.CustomSmtpGreeting = smtpGreetingFunc);
174174

0 commit comments

Comments
 (0)