From 99f9f0d6810946f46038bb265e83da4d92052b45 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Tue, 10 Feb 2026 01:54:36 +0000 Subject: [PATCH] fix: allow self-signed cert for Mailcow SMTP Co-Authored-By: Claude Opus 4.6 --- app/api/request-access/route.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/api/request-access/route.ts b/app/api/request-access/route.ts index 62a2379..2d0ddaf 100644 --- a/app/api/request-access/route.ts +++ b/app/api/request-access/route.ts @@ -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({