Email: set Reply-To header from SMTP config

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jtricerolph 2026-07-07 15:47:11 +00:00
parent da0f97c47c
commit 276a841adf

View file

@ -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.`,