From 93681d1e5e473359337b7a41046eb97e5644a218 Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 4 Nov 2010 19:15:57 +0000 Subject: - Fix extra line added to the message body when using php mail function (#1487060) --- program/steps/mail/func.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 1237c9214..a4f945fea 100644 --- a/program/steps/mail/func.inc +++ b/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