From b81ff702c28592ab86f5abbb3c277e0ee899b4d5 Mon Sep 17 00:00:00 2001 From: alec Date: Thu, 4 Nov 2010 19:15:57 +0000 Subject: - Fix extra line added to the message body when using php mail function (#1487060) git-svn-id: https://svn.roundcube.net/trunk@4182 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/mail/func.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc index 1237c9214..a4f945fea 100644 --- a/roundcubemail/program/steps/mail/func.inc +++ b/roundcubemail/program/steps/mail/func.inc @@ -1540,6 +1540,7 @@ function rcmail_deliver_message(&$message, $from, $mailto, &$smtp_error, &$body_ $delim = $RCMAIL->config->header_delimiter(); $to = $headers_enc['To']; $subject = $headers_enc['Subject']; + $header_str = rtrim($header_str); if ($delim != "\r\n") { $header_str = str_replace("\r\n", $delim, $header_str); -- cgit v1.2.3