These are chat archives for eventum/eventum

Mar 2016
Bryan Alsdorf
Mar 25 2016 00:36
I get the output "sh: 1: /usr/sbin/sendmail: not found" when there is an error. Not really a big problem
Elan Ruusamäe
Mar 25 2016 14:18
i think you have it enabled!
if i look the code i do not see how you get mail being sent and stuff not enabled
$to is set to null if the option is not enabled
correct me where i get this wrong?
Bryan Alsdorf
Mar 25 2016 15:44
$this->to is an array with a single null element.
array(1) {
  [0] =>
#0  Monolog\Handler\NativeMailerHandler->send() called at [/media/data/work/eventum/master/vendor/monolog/monolog/src/Monolog/Handler/MailHandler.php:53]
#1  Monolog\Handler\MailHandler->write() called at [/media/data/work/eventum/master/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:37]
#2  Monolog\Handler\AbstractProcessingHandler->handle() called at [/media/data/work/eventum/master/vendor/monolog/monolog/src/Monolog/Logger.php:289]
#3  Monolog\Logger->addRecord() called at [/media/data/work/eventum/master/vendor/monolog/monolog/src/Monolog/Logger.php:467]
#4  Monolog\Logger->log() called at [/media/data/work/eventum/master/vendor/monolog/monolog/src/Monolog/ErrorHandler.php:175]
#5  Monolog\ErrorHandler->handleFatalError()
sh: 1: /usr/sbin/sendmail: not found
Bryan Alsdorf
Mar 25 2016 16:38
Setting $to to an empty array solves the problem in my early test. I'm heading out for the weekend though so I don't have time to completly test it.