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 {
// TODO: htmlサニタイズ
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!,
to: to,
subject: subject,