mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 20:21:16 +00:00
actually send mail
This commit is contained in:
parent
9616a540c2
commit
668ee243b2
|
@ -696,12 +696,11 @@ class SeedDMS_StatisticTask extends SeedDMS_SchedulerTaskBase { /* {{{ */
|
|||
|
||||
$bodyhtml .= "</table>".PHP_EOL;
|
||||
|
||||
echo $body;
|
||||
$params = array();
|
||||
$params['__body__'] = $body;
|
||||
$params['__body_html__'] = $bodyhtml;
|
||||
$params['sitename'] = $settings->_siteName;
|
||||
//$email->toIndividual('', $auser, 'statistics_mail_subject', '', $params);
|
||||
$email->toIndividual('', $auser, 'statistics_mail_subject', '', $params);
|
||||
|
||||
$logger->log('Task \'statistics\': Sending statistics \'statistics_mail_subject\' to user \''.$auser->getLogin().'\'', PEAR_LOG_INFO);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user