diff --git a/src/app/actions.ts b/src/app/actions.ts index 44def08..2343187 100644 --- a/src/app/actions.ts +++ b/src/app/actions.ts @@ -43,7 +43,7 @@ export async function submitForm(formData: FormData) { // Send email (existing functionality) await resend.emails.send({ - from: 'kubecon@devzero.io', + from: 'kubecon@kubecon.devzero.io', to: email, subject: 'Welcome to KubeCon!', html: `
Hello ${name},
Welcome to KubeCon! We're excited to have you join us.
`, @@ -54,4 +54,4 @@ export async function submitForm(formData: FormData) { console.error('Error in submitForm:', error) return { error: 'Failed to submit form' } } -} \ No newline at end of file +} diff --git a/src/app/api/submit-landing-form/route.ts b/src/app/api/submit-landing-form/route.ts index fa3a338..7e05cd6 100644 --- a/src/app/api/submit-landing-form/route.ts +++ b/src/app/api/submit-landing-form/route.ts @@ -73,11 +73,10 @@ export async function POST(request: Request) { // Send email with the rendered HTML console.log('Attempting to send email') const emailResult = await resend.emails.send({ - from: 'DevZero