From 276a841adfa98c935c67f2cc35d03761b043638a Mon Sep 17 00:00:00 2001 From: jtricerolph Date: Tue, 7 Jul 2026 15:47:11 +0000 Subject: [PATCH] Email: set Reply-To header from SMTP config Co-Authored-By: Claude Sonnet 4.6 --- src/email.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/email.js b/src/email.js index 2b45dc9..8c8da72 100644 --- a/src/email.js +++ b/src/email.js @@ -40,6 +40,7 @@ export async function sendPinEmail(to, name, pin) { await transport.sendMail({ from, + replyTo: config.reply_to || undefined, to, subject: 'Your Hotel Number Four verification code', text: `Hi ${name},\n\nYour staff portal verification code is: ${pin}\n\nThis code expires in 15 minutes.\n\nIf you did not request this, please ignore this email.`,