diff --git a/api/application.js b/api/application.js index f2e3f61..2fdf762 100644 --- a/api/application.js +++ b/api/application.js @@ -19,6 +19,7 @@ const smtp = nodemailer.createTransport({ user: process.env.SMTP_USER || 'noreply@jeffemmett.com', pass: process.env.SMTP_PASS || '', }, + tls: { rejectUnauthorized: false }, }); // Email templates diff --git a/api/waitlist-db.js b/api/waitlist-db.js index c1bdfeb..fbb6043 100644 --- a/api/waitlist-db.js +++ b/api/waitlist-db.js @@ -19,6 +19,7 @@ const smtp = nodemailer.createTransport({ user: process.env.SMTP_USER || 'noreply@jeffemmett.com', pass: process.env.SMTP_PASS || '', }, + tls: { rejectUnauthorized: false }, }); const welcomeEmail = (signup) => ({