From 6f988cc688af91f19046d5bec102cf92f140c369 Mon Sep 17 00:00:00 2001 From: gorkem-bwl Date: Wed, 29 Apr 2026 15:48:12 -0400 Subject: [PATCH] fix(settings): drop from field from transport JSON preview The transport JSON preview is strictly for verifying what is handed to nodemailer.createTransport. The From header is built per-message in sendMail, so showing it inside the transport JSON was misleading. The separate From: ... pre block below the JSON is the right place for that preview. --- client/src/Pages/Settings/index.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/client/src/Pages/Settings/index.tsx b/client/src/Pages/Settings/index.tsx index e12850987..300d91738 100644 --- a/client/src/Pages/Settings/index.tsx +++ b/client/src/Pages/Settings/index.tsx @@ -583,8 +583,6 @@ export const SettingsPage = () => { {(() => { const address = form.watch("systemEmailAddress") || ""; const displayName = form.watch("systemEmailDisplayName")?.trim(); - const from = - displayName && address ? { name: displayName, address } : address; return ( <> { }, name: form.watch("systemEmailConnectionHost") || "localhost", pool: form.watch("systemEmailPool") ?? false, - from, tls: { rejectUnauthorized: form.watch("systemEmailRejectUnauthorized") ?? true,