fixup! set reply-to header in automated emails

This commit is contained in:
ゆめ 2024-11-07 01:13:47 -06:00
parent 858800ad2d
commit 283738d5e7
No known key found for this signature in database

View file

@ -145,7 +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, replyTo: 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,