From 2330d85701bbd7093fdb010fb477da3c80c8abd7 Mon Sep 17 00:00:00 2001 From: Thomas Hintz Date: Wed, 16 Jul 2025 07:09:50 -0700 Subject: [PATCH] making smtp connection secure --- src/app/(main)/contact-us/page.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/(main)/contact-us/page.jsx b/src/app/(main)/contact-us/page.jsx index f803902..fda487b 100644 --- a/src/app/(main)/contact-us/page.jsx +++ b/src/app/(main)/contact-us/page.jsx @@ -24,7 +24,7 @@ export default async function Page({ searchParams }) { const transporter = nodemailer.createTransport({ host: process.env.CONTACT_HOST, port: process.env.CONTACT_PORT, - secure: false, // true for 465, false for other ports + secure: true, // true for 465, false for other ports auth: { user: process.env.CONTACT_USER, pass: process.env.CONTACT_PASSWORD,