Skip to content
Unverified Commit 7078a0e5 authored by Florian Klink's avatar Florian Klink Committed by Roeland Jago Douma
Browse files

Mailer: discover sendmail path instead of hardcoding it to /usr/sbin/sendmail



`sendmail` can very well be in a path different from
`/usr/sbin/sendmail`.

We already search `$PATH` at `lib/private/Settings/Admin/Mail.php` to
detect whether we want to offer sendmail as a mail transfer method, so
let's be consistent and actually initialize `\Swift_SendmailTransport`
with this path to sendmail, instead of just hardcoding
`/usr/sbin/sendmail`.

Signed-off-by: default avatarFlorian Klink <flokli@flokli.de>
parent 166907af
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment