mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
pass smtp paramters to contructor of SeedDMS_Email
This commit is contained in:
parent
9382c4d1b1
commit
686666d42f
|
@ -49,7 +49,7 @@ if (!is_object($user)) {
|
|||
|
||||
$dms->setUser($user);
|
||||
if($settings->_enableEmail) {
|
||||
$notifier = new SeedDMS_Email();
|
||||
$notifier = new SeedDMS_Email($settings->_smtpSendFrom, $settings->_smtpServer, $settings->_smtpPort, $settings->_smtpUser, $settings->_smtpPassword);
|
||||
$notifier->setSender($user);
|
||||
} else {
|
||||
$notifier = null;
|
||||
|
|
Loading…
Reference in New Issue
Block a user