]> source.dussan.org Git - nextcloud-server.git/commit
Fallback to default path is sendmail can't be found 11404/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Fri, 2 Nov 2018 13:03:11 +0000 (14:03 +0100)
committerRoeland Jago Douma <roeland@famdouma.nl>
Fri, 2 Nov 2018 13:03:11 +0000 (14:03 +0100)
commit054056a8df9b5fd6651db7fbe771ca04ba37761a
tree905df9d0cc6f23a05b9895eb9b32ac008a30bf7c
parent7078a0e53e3b050c8008f9d8ae43c8d697fbc94c
Fallback to default path is sendmail can't be found

If the sendmail binary can't be found at all we fallback to the default
path.
It most likely is not there but then at least a proper error message
pops up.

Updated the tests to also properly pass.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
lib/private/Mail/Mailer.php
tests/lib/Mail/MailerTest.php