feat: custom mail subject

This commit is contained in:
Elias Schneider
2022-12-23 10:57:09 +01:00
parent aac363bb37
commit cabaee588b
2 changed files with 11 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ export class EmailService {
await transporter.sendMail({
from: `"Pingvin Share" <${this.config.get("SMTP_EMAIL")}>`,
to: recipientEmail,
subject: "Files shared with you",
subject: this.config.get("EMAIL_SUBJECT"),
text: this.config
.get("EMAIL_MESSAGE")
.replaceAll("\\n", "\n")