mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 12:11:19 +00:00
fix sending test mail
This commit is contained in:
parent
43c80a9f73
commit
fda21fc191
|
@ -210,7 +210,7 @@ switch($command) {
|
|||
case 'testmail': /* {{{ */
|
||||
if($user && $user->isAdmin()) {
|
||||
if($user->getEmail()) {
|
||||
$emailobj = new SeedDMS_Email($settings->_smtpSendFrom, $settings->_smtpServer, $settings->_smtpPort, $settings->_smtpUser, $settings->_smtpPassword);
|
||||
$emailobj = new SeedDMS_EmailNotify($settings->_smtpSendFrom, $settings->_smtpServer, $settings->_smtpPort, $settings->_smtpUser, $settings->_smtpPassword);
|
||||
$params = array();
|
||||
|
||||
if($emailobj->toIndividual($settings->_smtpSendFrom, $user, "testmail_subject", "testmail_body", $params)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user