Changeset 824 for trunk/Modules/Notify/Notify.php
- Timestamp:
- Apr 4, 2016, 8:41:19 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Notify/Notify.php
r813 r824 73 73 } 74 74 } 75 75 76 76 // Send content to users 77 77 $DbResult = $this->Database->query('SELECT `NotifyUser`.`Id`, `NotifyUser`.`LastTime`, `User`.`Name`, `Contact`.`Value`, `Contact`.`Category` FROM `NotifyUser` '. … … 82 82 $Time = time(); 83 83 $Output .= 'User '.$User['Name'].'<br/>'; 84 84 85 85 $this->Database->update('NotifyUser', '`Id`='.$User['Id'], array('LastTime' => TimeToMysqlDateTime($Time))); 86 86 … … 89 89 $Mail->Subject = 'Notification'; 90 90 $Mail->AddTo($User['Value'], $User['Name']); 91 //$Mail->AddBody(strip_tags($Content), 'text/plain');91 $Mail->AddBody(strip_tags($Content), 'text/plain'); 92 92 $Mail->AddBody('<style> 93 93 table { border-collapse: collapse; }
Note:
See TracChangeset
for help on using the changeset viewer.