pass smtp paramters to contructor of SeedDMS_Email

This commit is contained in:
Uwe Steinmann 2013-09-13 14:55:34 +02:00
parent 9382c4d1b1
commit 686666d42f

View File

@ -49,7 +49,7 @@ if (!is_object($user)) {
$dms->setUser($user); $dms->setUser($user);
if($settings->_enableEmail) { if($settings->_enableEmail) {
$notifier = new SeedDMS_Email(); $notifier = new SeedDMS_Email($settings->_smtpSendFrom, $settings->_smtpServer, $settings->_smtpPort, $settings->_smtpUser, $settings->_smtpPassword);
$notifier->setSender($user); $notifier->setSender($user);
} else { } else {
$notifier = null; $notifier = null;