fix: mail 인증 문제 수정

This commit is contained in:
Daseul Kim 2025-06-26 15:50:25 +09:00
parent 9a252c2712
commit b1fa0d5fd6

View File

@ -16,6 +16,7 @@ export async function sendEmail({ to, cc, subject, content }: EmailParams): Prom
port: Number(process.env.SMTP_PORT),
secure: process.env.SMTP_SECURE === 'true',
requireTLS: true,
tls: { rejectUnauthorized: false },
auth: {
user: process.env.SMTP_USER,
pass: process.env.SMTP_PASSWORD,