refactor(email): remove unnecessary whitespace in email sending logic
This commit is contained in:
@@ -51,7 +51,6 @@ class EmailChannel
|
|||||||
$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)
|
||||||
|
Reference in New Issue
Block a user