From 28a5dcfa31193a12530eb583518c386ce67b8bf8 Mon Sep 17 00:00:00 2001 From: eternal-flame-AD Date: Thu, 7 Nov 2024 01:08:09 -0600 Subject: [PATCH] set reply-to header in automated emails Signed-off-by: eternal-flame-AD --- packages/backend/src/core/EmailService.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/backend/src/core/EmailService.ts b/packages/backend/src/core/EmailService.ts index a176474b95..590d0ab64e 100644 --- a/packages/backend/src/core/EmailService.ts +++ b/packages/backend/src/core/EmailService.ts @@ -145,6 +145,7 @@ export class EmailService { try { // TODO: htmlサニタイズ const info = await transporter.sendMail({ + inReplyTo: this.meta.maintainerEmail ? { name: this.meta.maintainerName || 'Instance Maintainer', address: this.meta.maintainerEmail } : undefined, from: this.meta.email!, to: to, subject: subject,