Added Email Logging for Emailnotification class
This commit is contained in:
@@ -152,7 +152,7 @@ XINON GmbH";
|
||||
$this->log->warn(__METHOD__.": Invoice ".$this->invoice_number." could not be sent. Values missing. (subject: '$subject', from: '$from_name', from_email: '$from', to: '$to')");
|
||||
return false;
|
||||
} else {
|
||||
$email = new Emailnotification();
|
||||
$email = new Emailnotification("Invoice", $this->id);
|
||||
$email->setSubject($subject);
|
||||
$email->setBody($body);
|
||||
$email->setFrom($from, $from_name);
|
||||
|
||||
Reference in New Issue
Block a user