From 4d48c2417831b9b7ec4e1bc361ba360018e96e21 Mon Sep 17 00:00:00 2001 From: andreaci Date: Wed, 12 Feb 2025 11:19:24 +0100 Subject: [PATCH] Update README.md to specify AuthenticationRequired If AuthenticationRequired flag isn't explicitly changed, an authentication failure won't stop the client to send emails --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f9d8ca6..0712d82 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,8 @@ var options = new SmtpServerOptionsBuilder() .Endpoint(builder => builder .Port(9025, true) - .AllowUnsecureAuthentication(false) + .AllowUnsecureAuthentication(false) // this is to disallow sending PLAIN credentials without an SSL/TLS tunnel + .AuthenticationRequired(true) // if this isn't explicitely set to true, the UserAuthenticator provider has no effect .Certificate(CreateCertificate())) .Build();