feat: support headers in email config

literally no idea why it's like this. Absolutely no idea. It just does
this. Sorry.
This commit is contained in:
zkldi
2024-04-09 01:07:52 +01:00
parent 7a3f121328
commit 3bf554ea4b
+1
View File
@@ -67,6 +67,7 @@ export function SendEmail(
html: htmlContent,
text: textContent,
dkim: ServerConfig.EMAIL_CONFIG.DKIM,
headers: transporter.options.headers,
})
.catch((err: unknown) => {
logger.info(`Failed to send email to ${to}.`, {