From 7012f1ffd3c3cde2ab0db1307c9776ce83b74f8c Mon Sep 17 00:00:00 2001 From: Andreas Knuth Date: Tue, 15 Jul 2025 10:26:53 -0500 Subject: [PATCH] rejectUnauthorized: false --- email_api/email_api/app.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/email_api/email_api/app.js b/email_api/email_api/app.js index 5fb3c38..6b0abf8 100644 --- a/email_api/email_api/app.js +++ b/email_api/email_api/app.js @@ -54,7 +54,10 @@ const s3Client = new AWS.S3({ region: AWS_REGION }); const transporter = nodemailer.createTransport({ host: SMTP_HOST, port: SMTP_PORT, - secure: false // Adjust if SMTP requires TLS + secure: false, // Adjust if SMTP requires TLS + tls: { + rejectUnauthorized: false + } }); // Utility to check if domain exists