fix: email

This commit is contained in:
Benno Tielen 2025-02-11 11:44:12 +01:00
parent 5250f1f62b
commit 4f94c72977

View file

@ -35,7 +35,7 @@ export async function send(prevState: any, formData: FormData) {
try {
const resend = new Resend(process.env.RESEND_API_KEY);
const resp = await resend.emails.send({
from: 'kontakt@resend.dev',
from: 'noreply@dreikoenige.berlin',
replyTo: validatedFields.data.email,
to: 'buero@sankt-clara.de',
subject: `Über Kontaktformular: ${validatedFields.data.subject}`,