summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-11-04 19:15:57 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-11-04 19:15:57 +0000
commitb81ff702c28592ab86f5abbb3c277e0ee899b4d5 (patch)
tree6c5954ad49960c7536b2fffda12b39be1ae64e40 /roundcubemail/program/steps
parent50c4d7e707d72431c94757ee00a559a9e8666e5b (diff)
- 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
Diffstat (limited to 'roundcubemail/program/steps')
-rw-r--r--roundcubemail/program/steps/mail/func.inc1
1 files changed, 1 insertions, 0 deletions
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);