From 5d7407961d27e0087a4d2867903c6fdf84125afd Mon Sep 17 00:00:00 2001 From: Mat Sz Date: Wed, 22 Nov 2023 18:25:25 +0100 Subject: [PATCH] fix logging --- src/server/connection.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/connection.ts b/src/server/connection.ts index db70b53..ad766cc 100644 --- a/src/server/connection.ts +++ b/src/server/connection.ts @@ -303,6 +303,7 @@ export class SMTPServerConnection extends EventEmitter { try { this.reply(334, plaintextMessage ? message : base64Encode(message)); const reply = await this.wire.readLine(); + console.log('[SMTP IN]', reply); return plaintextReply ? reply : base64Decode(reply); } catch { return '';