This commit is contained in:
parent
f48d9c8a41
commit
773fe1a3ee
2 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
SMTP_HOST=
|
||||
SMTP_PORT=587
|
||||
SMTP_SECURE=true
|
||||
SMTP_USER=
|
||||
SMTP_PASS=
|
||||
FROM_EMAIL=
|
||||
|
|
|
@ -6,7 +6,7 @@ export const prerender = false;
|
|||
const transporter = nodemailer.createTransport({
|
||||
host: import.meta.env.SMTP_HOST,
|
||||
port: parseInt(import.meta.env.SMTP_PORT),
|
||||
secure: import.meta.env.SMTP_PORT === "465",
|
||||
secure: import.meta.env.SMTP_SECURE,
|
||||
auth: {
|
||||
user: import.meta.env.SMTP_USER,
|
||||
pass: import.meta.env.SMTP_PASS,
|
||||
|
|
Loading…
Add table
Reference in a new issue