浏览代码

Fix missing CRLF when building up message

Thomas Dy 2 年之前
父节点
当前提交
e1bf3e830e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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";
     }
   }