Compare commits
5 Commits
cdf1c97fb8
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 8616d8e6f4 | |||
| cc317ef83d | |||
| f42f6ada8e | |||
| 2d64c53e52 | |||
| 9639187067 |
@@ -3,5 +3,8 @@ services:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "4321:4321"
|
||||
environment:
|
||||
- EMAIL_TO=${EMAIL_TO:-destinatary}
|
||||
- EMAIL_FROM=${EMAIL_FROM:-owner}
|
||||
- EMAIL_USER=${EMAIL_USER:-user}
|
||||
- EMAIL_PASS=${EMAIL_PASS:-password}
|
||||
|
||||
@@ -22,8 +22,8 @@ export const server = {
|
||||
|
||||
handler: async (input) => {
|
||||
const mailOptions = {
|
||||
from: '"Juan Diego" <jdcorreosvarios@gmail.com>',
|
||||
to: "jdcorreosvarios@gmail.com",
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user