We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 757ff7f commit b34d74aCopy full SHA for b34d74a
1 file changed
SMTP2Graph/Worker.cs
@@ -96,7 +96,7 @@ private async Task HandleConnection(TcpClient client, Stream stream, int Port)
96
var sw = new StreamWriter(stream);
97
var sr = new StreamReader(stream);
98
sw.AutoFlush = true;
99
- sw.Write($"220 {Environment.MachineName} SMTP2Graph Service ready\r\n");
+ await sw.WriteAsyncExt($"220 {Environment.MachineName} SMTP2Graph Service ready", Logger, Port);
100
while (true)
101
{
102
string? msg = null;
0 commit comments