refactor(email): remove unnecessary whitespace in email sending logic

This commit is contained in:
Andras Bacsai
2025-03-28 18:46:46 +01:00
parent 2b046c4bc4
commit 6d9887afba

View File

@@ -51,7 +51,6 @@ class EmailChannel
$fromEmail = $settings->smtp_from_address ?? 'noreply@localhost';
$fromName = $settings->smtp_from_name ?? 'System';
$from = new \Symfony\Component\Mime\Address($fromEmail, $fromName);
$email = (new \Symfony\Component\Mime\Email)
->from($from)
->to(...$recipients)