From 02f7142f1a2c82e9b98b6be479d4d8ab7b8e8fb7 Mon Sep 17 00:00:00 2001 From: T_DaMER Date: Mon, 25 Sep 2023 18:38:53 +0300 Subject: [PATCH] Also use sealcred.xyz for sealcred --- src/helpers/sendEmail.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/helpers/sendEmail.ts b/src/helpers/sendEmail.ts index b7c30bf..e02f796 100644 --- a/src/helpers/sendEmail.ts +++ b/src/helpers/sendEmail.ts @@ -45,10 +45,13 @@ export default async function ({ : scEmail({ domain, secret }) const from = forKetl ? 'Ketl' : 'SealCred' + const fromEmail = forKetl + ? 'ketl@mail.useketl.com' + : 'verify@mail.sealcred.xyz' console.log(`Sending email to ${to}`) const info = { - from: `"${from}" `, + from: `"${from}" <${fromEmail}>`, html, subject, to,