This commit is contained in:
baodev0
2026-10-08 11:25:28 +07:00
parent 1544629a1f
commit 8651dde6b1
45 changed files with 1543 additions and 357 deletions
+3 -1
View File
@@ -65,7 +65,9 @@ class ExpiryMail implements ShouldQueue
try {
$email = new ExpiryService($this->template_id,$data);
Mail::to($product->Customer->email)->send($email);
if (Mail::to($product->Customer->email)->send($email) === null) {
return;
}
\App\Models\Mail::create([
'template_id' => $this->template_id,
'subject' => $email->envelope()->subject,