Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

refactor(email): enhance sender information formatting in email logic

Andras Bacsaid110c93ba9c5
diff --git a/app/Notifications/Channels/EmailChannel.php b/app/Notifications/Channels/EmailChannel.php
index 582d9a1e46..a452ef8dd7 100644
--- a/app/Notifications/Channels/EmailChannel.php
+++ b/app/Notifications/Channels/EmailChannel.php
@@ -29,8 +29,9 @@ class EmailChannel
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(),