Update: Fixed the "from" and "to" to use the env variables
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user