making port configurable
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user