From c55913a9cc293803f90b6a4fe6c14e891511bfd5 Mon Sep 17 00:00:00 2001 From: Ephraim Atta-Duncan Date: Wed, 5 Jun 2024 13:46:47 +0000 Subject: [PATCH] fix: nodemailer secure true --- apps/web/src/lib/email/mailer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/lib/email/mailer.ts b/apps/web/src/lib/email/mailer.ts index 0708f39..aaa2786 100644 --- a/apps/web/src/lib/email/mailer.ts +++ b/apps/web/src/lib/email/mailer.ts @@ -7,7 +7,7 @@ import { env } from '@formbase/env'; const smtpConfig = { host: env.SMTP_HOST, port: env.SMTP_PORT, - secure: env.NODE_ENV === 'production', + secure: true, auth: { user: env.SMTP_USER, pass: env.SMTP_PASSWORD,