bcc email notifications to TEST_EMAIL

This commit is contained in:
Ben Allfree 2024-11-17 15:36:48 +00:00
parent 5d6ba0caf0
commit b3879d6645

View File

@ -113,7 +113,9 @@ const mkNotificationProcessor =
name: $app.settings().meta.senderName,
},
to: [{ address: to }],
bcc: [{ address: `pockethost+notifications@benallfree.com` }],
bcc: [process.env.TEST_EMAIL]
.filter((e) => !!e)
.map((e) => ({ address: e })),
subject,
html,
}