fix: allow self-signed cert for Mailcow SMTP

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-02-10 01:54:36 +00:00
parent f550fe0423
commit 99f9f0d681
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ export async function POST(request: NextRequest) {
port: Number(process.env.SMTP_PORT) || 587,
secure: false,
auth: { user: smtpUser, pass: smtpPass },
tls: { rejectUnauthorized: false },
})
await transporter.sendMail({