fix: mail 인증 문제 수정
This commit is contained in:
parent
9a252c2712
commit
b1fa0d5fd6
@ -16,6 +16,7 @@ export async function sendEmail({ to, cc, subject, content }: EmailParams): Prom
|
|||||||
port: Number(process.env.SMTP_PORT),
|
port: Number(process.env.SMTP_PORT),
|
||||||
secure: process.env.SMTP_SECURE === 'true',
|
secure: process.env.SMTP_SECURE === 'true',
|
||||||
requireTLS: true,
|
requireTLS: true,
|
||||||
|
tls: { rejectUnauthorized: false },
|
||||||
auth: {
|
auth: {
|
||||||
user: process.env.SMTP_USER,
|
user: process.env.SMTP_USER,
|
||||||
pass: process.env.SMTP_PASSWORD,
|
pass: process.env.SMTP_PASSWORD,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user