feat(mail): add CC and BCC fields to email requests and forms (#466)

* feat(mail): add CC and BCC fields to email requests and forms

* chore: fmt
This commit is contained in:
Abdulrazzaq Alhendi
2026-02-06 03:59:38 +03:00
committed by GitHub
parent 796f6f364a
commit 65d1fdd3f0
13 changed files with 146 additions and 3 deletions

View File

@@ -36,6 +36,8 @@ class SendInvoiceMail extends Mailable
$log = EmailLog::create([
'from' => $this->data['from'],
'to' => $this->data['to'],
'cc' => $this->data['cc'] ?? null,
'bcc' => $this->data['bcc'] ?? null,
'subject' => $this->data['subject'],
'body' => $this->data['body'],
'mailable_type' => Invoice::class,