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
This commit is contained in:
freibadschwimmer 2023-01-30 05:12:07 +02:00 committed by GitHub
parent af71dd7ffe
commit 0d1b340499
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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";