From cc317ef83db43a26e904ae76a1e0eeec35730a3d Mon Sep 17 00:00:00 2001 From: Juan Diego Moreno Upegui Date: Sat, 4 Apr 2026 21:48:22 -0500 Subject: [PATCH] Add: env variable for "From" and "To" fields of email action --- src/actions/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/actions/index.ts b/src/actions/index.ts index 8483e0e..2307a95 100644 --- a/src/actions/index.ts +++ b/src/actions/index.ts @@ -22,8 +22,8 @@ export const server = { handler: async (input) => { const mailOptions = { - from: `"AU Solutions IT" <${import.meta.env.EMAIL_USER}>`, - to: import.meta.env.EMAIL_USER, + from: import.meta.env.EMAIL_FROM, + to: import.meta.env.EMAIL_TO, subject: `Nueva persona interesada en Naliia: ${input.userName}`, html: emailTemplate .replace("{{userName}}", input.userName)