Browse Source

Fix missing CRLF when building up message

Thomas Dy 2 years ago
parent
commit
e1bf3e830e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      smtp.ts

+ 1 - 1
smtp.ts

@@ -139,7 +139,7 @@ export class Session {
       this.sender = "";
       this.data = "";
     } else {
-      this.data += data;
+      this.data += data + "\r\n";
     }
   }