Added support for nodemailer ignoreTLS option (#6216)

* added support for nodemailer ignoreTLS option

* update doc to show no default value
This commit is contained in:
nichols-green
2021-06-11 09:48:22 -07:00
committed by GitHub
parent 427b339e04
commit 055cd331d9
3 changed files with 11 additions and 8 deletions

View File

@@ -28,6 +28,7 @@ export default function getMailer(): Transporter {
host: env.EMAIL_SMTP_HOST,
port: env.EMAIL_SMTP_PORT,
secure: env.EMAIL_SMTP_SECURE,
ignoreTLS: env.EMAIL_SMTP_IGNORE_TLS,
auth: auth,
} as Record<string, unknown>);
} else if (env.EMAIL_TRANSPORT.toLowerCase() === 'mailgun') {