Skip to content

Commit acfb96e

Browse files
fix(mail): update sender email addresses and enhance email content for verification and password reset
1 parent c20abb1 commit acfb96e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lib/mail.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ export async function sendVerificationEmail(email: string, token: string) {
77
const link = `${baseUrl}/verify-email?token=${token}`;
88

99
return resend.emails.send({
10-
from: 'testing@resend.dev',
10+
from: 'verify-email@credentials.kawserahmed.tech',
1111
to: email,
1212
subject: 'Verify your email address',
1313
html: `
14-
<h1>Verify your email address</h1>
14+
<h1>Verify your email address ${email}</h1>
1515
<p>Click the link below to verify your email address</p>
1616
<a href="${link}">Verify email</a>
1717
`
@@ -22,11 +22,11 @@ export async function sendPasswordResetEmail(email: string, token: string) {
2222
const link = `${baseUrl}/reset-password?token=${token}`;
2323

2424
return resend.emails.send({
25-
from: 'testing@resend.dev',
25+
from: 'reset-password@credentials.kawserahmed.tech',
2626
to: email,
2727
subject: 'Reset your password',
2828
html: `
29-
<h1>You have requested to reset your password</h1>
29+
<h1>You have requested to reset your password for ${email}</h1>
3030
<p>Click the link below to reset password</p>
3131
<a href="${link}">Reset password</a>
3232
`

0 commit comments

Comments
 (0)