diff --git a/app/Services/Email/AdminEmail.php b/app/Services/Email/AdminEmail.php index 2a245337fa72..0555cb8afc80 100644 --- a/app/Services/Email/AdminEmail.php +++ b/app/Services/Email/AdminEmail.php @@ -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) { diff --git a/app/Services/Email/Email.php b/app/Services/Email/Email.php index 1373fb726db6..4427a16759c1 100644 --- a/app/Services/Email/Email.php +++ b/app/Services/Email/Email.php @@ -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) {