set reply-to header in automated emails

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
This commit is contained in:
ゆめ 2024-11-07 01:08:09 -06:00
parent b99cf702a0
commit 28a5dcfa31
No known key found for this signature in database

View file

@ -145,6 +145,7 @@ export class EmailService {
try { try {
// TODO: htmlサニタイズ // TODO: htmlサニタイズ
const info = await transporter.sendMail({ const info = await transporter.sendMail({
inReplyTo: this.meta.maintainerEmail ? { name: this.meta.maintainerName || 'Instance Maintainer', address: this.meta.maintainerEmail } : undefined,
from: this.meta.email!, from: this.meta.email!,
to: to, to: to,
subject: subject, subject: subject,