Update contact email sender name
This commit is contained in:
+1
-1
@@ -13,4 +13,4 @@ RESEND_TO=vbvwithnate@outlook.com
|
||||
# "From" address shown on received emails.
|
||||
# During testing you can leave this as-is (uses Resend's shared domain).
|
||||
# For production: verify your own domain at resend.com/domains and change this.
|
||||
RESEND_FROM=Verse by Verse <onboarding@resend.dev>
|
||||
RESEND_FROM=Verse by Verse with Nate <onboarding@resend.dev>
|
||||
|
||||
@@ -114,7 +114,7 @@ app.post('/api/contact', contactRateLimit, async (req, res) => {
|
||||
|
||||
const resend = new Resend(process.env.RESEND_API_KEY)
|
||||
const { error } = await resend.emails.send({
|
||||
from: process.env.RESEND_FROM ?? 'Verse by Verse <onboarding@resend.dev>',
|
||||
from: process.env.RESEND_FROM ?? 'Verse by Verse with Nate <onboarding@resend.dev>',
|
||||
to: [process.env.RESEND_TO ?? 'vbvwithnate@outlook.com'],
|
||||
replyTo: trimmedEmail,
|
||||
subject: `Verse by Verse contact form: ${trimmedName}`,
|
||||
|
||||
Reference in New Issue
Block a user