Skip to content

Commit

Permalink
changed -bs to -t option to pass to sendmail
Browse files Browse the repository at this point in the history
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 nextcloud#11281
  • Loading branch information
duke-m authored Nov 5, 2018
1 parent 41cace8 commit 38b3404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Mail/Mailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,6 @@ protected function getSendMailInstance(): \Swift_SendmailTransport {
break;
}

return new \Swift_SendmailTransport($binaryPath . ' -bs');
return new \Swift_SendmailTransport($binaryPath . ' -t');
}
}

0 comments on commit 38b3404

Please sign in to comment.