rejectUnauthorized: false

This commit is contained in:
Andreas Knuth 2025-07-15 10:26:53 -05:00
parent 14a212cf14
commit 7012f1ffd3
1 changed files with 4 additions and 1 deletions

View File

@ -54,7 +54,10 @@ const s3Client = new AWS.S3({ region: AWS_REGION });
const transporter = nodemailer.createTransport({ const transporter = nodemailer.createTransport({
host: SMTP_HOST, host: SMTP_HOST,
port: SMTP_PORT, 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 // Utility to check if domain exists