Update: Fixed the "from" and "to" to use the env variables

This commit is contained in:
2026-04-04 21:40:37 -05:00
parent cdf1c97fb8
commit 2d64c53e52

View File

@@ -22,8 +22,8 @@ export const server = {
handler: async (input) => {
const mailOptions = {
from: '"Juan Diego" <jdcorreosvarios@gmail.com>',
to: "jdcorreosvarios@gmail.com",
from: `"AU Solutions IT" <${import.meta.env.EMAIL_USER}>`,
to: import.meta.env.EMAIL_USER,
subject: `Nueva persona interesada en Naliia: ${input.userName}`,
html: emailTemplate
.replace("{{userName}}", input.userName)