Email: set Reply-To header from SMTP config
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
da0f97c47c
commit
276a841adf
1 changed files with 1 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ export async function sendPinEmail(to, name, pin) {
|
||||||
|
|
||||||
await transport.sendMail({
|
await transport.sendMail({
|
||||||
from,
|
from,
|
||||||
|
replyTo: config.reply_to || undefined,
|
||||||
to,
|
to,
|
||||||
subject: 'Your Hotel Number Four verification code',
|
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.`,
|
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.`,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue