Deliver contact form emails to hello@versebyversewithnate.us
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ RESEND_API_KEY=re_your_api_key_here
|
||||
RESEND_CONTACTS_API_KEY=
|
||||
|
||||
# Email address that receives contact form submissions
|
||||
RESEND_TO=vbvwithnate@outlook.com
|
||||
RESEND_TO=hello@versebyversewithnate.us
|
||||
|
||||
# Optional: automatically add contact form submitters to a Resend Segment
|
||||
# Create a Segment in Resend and paste its ID here if you want new contacts grouped.
|
||||
|
||||
@@ -156,7 +156,7 @@ app.post('/api/contact', contactRateLimit, async (req, res) => {
|
||||
|
||||
const { error } = await resend.emails.send({
|
||||
from: process.env.RESEND_FROM ?? 'Verse by Verse with Nate <hello@versebyversewithnate.us>',
|
||||
to: [process.env.RESEND_TO ?? 'vbvwithnate@outlook.com'],
|
||||
to: [process.env.RESEND_TO ?? 'hello@versebyversewithnate.us'],
|
||||
replyTo: trimmedEmail,
|
||||
subject: `Verse by Verse contact form: ${trimmedName}`,
|
||||
text:
|
||||
|
||||
Reference in New Issue
Block a user