refactor(email): remove unnecessary whitespace in email sending logic
This commit is contained in:
parent
2b046c4bc4
commit
6d9887afba
1 changed files with 0 additions and 1 deletions
|
|
@ -51,7 +51,6 @@ public function send(SendsEmail $notifiable, Notification $notification): void
|
||||||
$fromEmail = $settings->smtp_from_address ?? 'noreply@localhost';
|
$fromEmail = $settings->smtp_from_address ?? 'noreply@localhost';
|
||||||
$fromName = $settings->smtp_from_name ?? 'System';
|
$fromName = $settings->smtp_from_name ?? 'System';
|
||||||
$from = new \Symfony\Component\Mime\Address($fromEmail, $fromName);
|
$from = new \Symfony\Component\Mime\Address($fromEmail, $fromName);
|
||||||
|
|
||||||
$email = (new \Symfony\Component\Mime\Email)
|
$email = (new \Symfony\Component\Mime\Email)
|
||||||
->from($from)
|
->from($from)
|
||||||
->to(...$recipients)
|
->to(...$recipients)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue