address email with resend
This commit is contained in:
@@ -12,7 +12,7 @@ export async function sendPasswordResetEmail(opts: {
|
||||
const { to, resetLink, famName } = opts;
|
||||
|
||||
await resend.emails.send({
|
||||
from: 'no-reply@famchamp.ai',
|
||||
from: 'no-reply@walthamstow.xyz',
|
||||
to,
|
||||
subject: `Reset your password for ${famName}`,
|
||||
html: `
|
||||
@@ -33,7 +33,7 @@ export async function sendParentInviteEmail(opts: {
|
||||
const { to, inviteLink, famName, otp } = opts;
|
||||
|
||||
await resend.emails.send({
|
||||
from: 'no-reply@famchamp.ai',
|
||||
from: 'no-reply@walthamstow.xyz',
|
||||
to,
|
||||
subject: `You're invited to ${famName} on FamDone`,
|
||||
html: `
|
||||
@@ -58,7 +58,7 @@ export async function sendAccessUnlockedEmail(opts: {
|
||||
const vars = { famName, codeName, dashboardUrl };
|
||||
|
||||
await resend.emails.send({
|
||||
from: 'no-reply@famchamp.ai',
|
||||
from: 'no-reply@walthamstow.xyz',
|
||||
to,
|
||||
subject: template.subject(vars),
|
||||
html: template.html(vars)
|
||||
@@ -73,7 +73,7 @@ export async function sendWelcomeEmail(opts: {
|
||||
const { to, famName, dashboardUrl } = opts;
|
||||
|
||||
await resend.emails.send({
|
||||
from: 'no-reply@famchamp.ai',
|
||||
from: 'no-reply@walthamstow.xyz',
|
||||
to,
|
||||
subject: `Welcome to FamDone${famName ? `, ${famName}` : ''}!`,
|
||||
html: `
|
||||
|
||||
Reference in New Issue
Block a user