From 0abab0217fdc8c56ab211356b9c73263ea6ac152 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Tue, 17 Nov 2009 05:06:35 +0000 Subject: [PATCH] Add missint CRLF at end of From: header --- exec/load/822header.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/exec/load/822header.js b/exec/load/822header.js index 31b99b74e6..075bec00b7 100644 --- a/exec/load/822header.js +++ b/exec/load/822header.js @@ -14,13 +14,13 @@ MsgBase.HeaderPrototype.get_rfc822_header=function(force_update) this.rfc822 += "Date: "+this.date+"\r\n"; if(!this.from_net_type || this.from_net_addr.length==0) /* local message */ - this.rfc822 += "From: " + this.from + " <" + this.from.replace(/ /g,".").toLowerCase() + "@" + system.inetaddr + ">"; + this.rfc822 += "From: " + this.from + " <" + this.from.replace(/ /g,".").toLowerCase() + "@" + system.inetaddr + ">\r\n"; else if(!this.from_net_addr.length) - this.rfc822 += "From: " + this.from; + this.rfc822 += "From: " + this.from + "\r\n"; else if(this.from_net_addr.indexOf('@')!=-1) - this.rfc822 += "From: " + this.from+" <"+this.from_net_addr+">"; + this.rfc822 += "From: " + this.from+" <"+this.from_net_addr+">\r\n"; else - this.rfc822 += "From: " + this.from+" <"+this.from.replace(/ /g,".").toLowerCase()+"@"+this.from_net_addr+">"; + this.rfc822 += "From: " + this.from+" <"+this.from.replace(/ /g,".").toLowerCase()+"@"+this.from_net_addr+">\r\n"; this.rfc822 += "X-Comment-To: "+this.to+"\r\n"; if(this.path != undefined) -- GitLab