set reply-to header in automated emails
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
This commit is contained in:
parent
b99cf702a0
commit
28a5dcfa31
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue