making port configurable

This commit is contained in:
2025-07-16 07:07:28 -07:00
parent 7e5b22aaec
commit ed467b6a3b
2 changed files with 1 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ export default async function Page({ searchParams }) {
if (valid && validHostName) {
const transporter = nodemailer.createTransport({
host: process.env.CONTACT_HOST,
port: 587,
port: process.env.CONTACT_PORT,
secure: false, // true for 465, false for other ports
auth: {
user: process.env.CONTACT_USER,