From 39d7ed97b198bd900cb1b8d4ae2236c4ad58dff4 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Sat, 29 Sep 2018 16:01:34 +0200 Subject: [PATCH] pass settings to EmailNotify service, closes #417 --- op/op.Ajax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/op/op.Ajax.php b/op/op.Ajax.php index 6eede8bfe..857458c6b 100644 --- a/op/op.Ajax.php +++ b/op/op.Ajax.php @@ -68,7 +68,7 @@ if (isset($_COOKIE["mydms_session"])) { } if($settings->_enableEmail) { - $notifier->addService(new SeedDMS_EmailNotify($dms)); + $notifier->addService(new SeedDMS_EmailNotify($dms, $settings->_smtpSendFrom, $settings->_smtpServer, $settings->_smtpPort, $settings->_smtpUser, $settings->_smtpPassword)); } if(isset($GLOBALS['SEEDDMS_HOOKS']['notification'])) {