Added Email Logging for Emailnotification class
This commit is contained in:
@@ -48,7 +48,7 @@ class MaintenanceNotification extends mfBaseModel {
|
||||
continue;
|
||||
}
|
||||
|
||||
$email = new Emailnotification();
|
||||
$email = new Emailnotification("MaintenanceNotification", $this->id);
|
||||
$email->setSubject($subject);
|
||||
$email->setBody($body);
|
||||
$email->setFrom($from, $from_name);
|
||||
@@ -84,7 +84,7 @@ class MaintenanceNotification extends mfBaseModel {
|
||||
$to = "wartungsverteiler.team@xinon.at";
|
||||
$body .= "\n\nPLZ Liste:\n\n";
|
||||
$body .= implode("\n", $this->getProperty("plzs"));
|
||||
$email = new Emailnotification();
|
||||
$email = new Emailnotification("MaintenanceNotification", $this->id);
|
||||
$email->setSubject($subject);
|
||||
$email->setBody($body);
|
||||
$email->setFrom($from, $from_name);
|
||||
|
||||
Reference in New Issue
Block a user