Additional logging for mail

This commit is contained in:
David Bomba 2023-11-11 10:59:31 +11:00
parent 51614b48b7
commit f7d033e46d
2 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,7 @@ class AdminEmail implements ShouldQueue
Cache::increment("email_quota".$this->company->account->key);
LightLogs::create(new EmailSuccess($this->company->company_key))
LightLogs::create(new EmailSuccess($this->company->company_key, $this->mailable->subject))
->send();
} catch(\Symfony\Component\Mime\Exception\RfcComplianceException $e) {

View File

@ -253,7 +253,7 @@ class Email implements ShouldQueue
Cache::increment("email_quota".$this->company->account->key);
LightLogs::create(new EmailSuccess($this->company->company_key))
LightLogs::create(new EmailSuccess($this->company->company_key, $this->mailable->subject))
->send();
} catch(\Symfony\Component\Mime\Exception\RfcComplianceException $e) {