From 0d1b340499e93398aa5adec51be8599e99648384 Mon Sep 17 00:00:00 2001 From: freibadschwimmer Date: Mon, 30 Jan 2023 05:12:07 +0200 Subject: [PATCH] Add line break to fix "broken headers" in rspamd to avoid confirmation mails gettings stuck in spam filter (#13) * Translation added * Add line break in mail function --- lib/send.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/send.php b/lib/send.php index 7fe8a69..a3b93da 100644 --- a/lib/send.php +++ b/lib/send.php @@ -57,7 +57,7 @@ class password_recovery_send { $headers .= "Subject: $subject\r\n"; $headers .= "Reply-To: $from\r\n"; - $txt_body = "--=_$ctb"; + $txt_body = "--=_$ctb\r\n"; $txt_body .= "\r\n"; $txt_body .= "Content-Transfer-Encoding: 7bit\r\n"; $txt_body .= "Content-Type: text/plain; charset=" . $this->rc->config->get('default_charset', RCUBE_CHARSET) . "\r\n";