Skip to content

Commit 295b503

Browse files
github-actions[bot]avin3shrzikm
authored
fix redundant CRLF response during SMTP negotiate (#109112)
Co-authored-by: Avinesh Singh <[email protected]> Co-authored-by: Radek Zikmund <[email protected]>
1 parent c489a8c commit 295b503

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/libraries/System.Net.Mail/src/System/Net/Mail/SmtpNegotiateAuthenticationModule.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,6 @@ internal SmtpNegotiateAuthenticationModule()
6363
{
6464
return null;
6565
}
66-
if (clientContext.IsAuthenticated && resp == null)
67-
{
68-
resp = "\r\n";
69-
}
7066
}
7167
else
7268
{

0 commit comments

Comments
 (0)