refactor(email): enhance sender information formatting in email logic
This commit is contained in:
parent
ebb81aff68
commit
d110c93ba9
1 changed files with 2 additions and 1 deletions
|
|
@ -29,8 +29,9 @@ public function send(SendsEmail $notifiable, Notification $notification): void
|
|||
|
||||
if ($isResendEnabled) {
|
||||
$resend = Resend::client($settings->resend_api_key);
|
||||
$from = "{$settings->smtp_from_name} <{$settings->smtp_from_address}>";
|
||||
$resend->emails->send([
|
||||
'from' => $settings->smtp_from_address,
|
||||
'from' => $from,
|
||||
'to' => $recipients,
|
||||
'subject' => $mailMessage->subject,
|
||||
'html' => (string) $mailMessage->render(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue