Skip to content

Commit

Permalink
fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mat-sz committed Nov 22, 2023
1 parent 94a455c commit 5d74079
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 '';
Expand Down

0 comments on commit 5d74079

Please sign in to comment.