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