mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-17 04:15:02 +00:00
refactor(email): remove unnecessary whitespace in email sending logic
This commit is contained in:
1 parent
2b046c4bc4
commit
6d9887afba
1 file changed
-1
@@ -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