Revert: deliver contact form emails to vbvwithnate@outlook.com
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ RESEND_API_KEY=re_your_api_key_here
|
|||||||
RESEND_CONTACTS_API_KEY=
|
RESEND_CONTACTS_API_KEY=
|
||||||
|
|
||||||
# Email address that receives contact form submissions
|
# Email address that receives contact form submissions
|
||||||
RESEND_TO=hello@versebyversewithnate.us
|
RESEND_TO=vbvwithnate@outlook.com
|
||||||
|
|
||||||
# Optional: automatically add contact form submitters to a Resend Segment
|
# 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.
|
# 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({
|
const { error } = await resend.emails.send({
|
||||||
from: process.env.RESEND_FROM ?? 'Verse by Verse with Nate <hello@versebyversewithnate.us>',
|
from: process.env.RESEND_FROM ?? 'Verse by Verse with Nate <hello@versebyversewithnate.us>',
|
||||||
to: [process.env.RESEND_TO ?? 'hello@versebyversewithnate.us'],
|
to: [process.env.RESEND_TO ?? 'vbvwithnate@outlook.com'],
|
||||||
replyTo: trimmedEmail,
|
replyTo: trimmedEmail,
|
||||||
subject: `Verse by Verse contact form: ${trimmedName}`,
|
subject: `Verse by Verse contact form: ${trimmedName}`,
|
||||||
text:
|
text:
|
||||||
|
|||||||
Reference in New Issue
Block a user