From 38b3404a9c0e1be28a9202e113dc9379237f561e Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 5 Nov 2018 13:49:03 +0100 Subject: [PATCH] changed -bs to -t option to pass to sendmail from the manpage: "Read message for recipients. To:, Cc:, and Bcc: lines will be scanned for recipient addresses. The Bcc: line will be deleted before transmission." see issue #11281 --- lib/private/Mail/Mailer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Mail/Mailer.php b/lib/private/Mail/Mailer.php index df23b66936577..71ff08fea8020 100644 --- a/lib/private/Mail/Mailer.php +++ b/lib/private/Mail/Mailer.php @@ -282,6 +282,6 @@ protected function getSendMailInstance(): \Swift_SendmailTransport { break; } - return new \Swift_SendmailTransport($binaryPath . ' -bs'); + return new \Swift_SendmailTransport($binaryPath . ' -t'); } }