mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
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:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user