mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 23:42:11 +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);
|
$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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user