Closed rdpanek closed 1 year ago
[x] upgraded nodejs (node:18.7.0-alpine3.15)
[x] upgrade nodemailer ("nodemailer": "6.9.4",)
[x] add env for choose version of the tls min and max
const tlsMinVersion = process.env.TLS_MIN_VERSION ? process.env.TLS_MIN_VERSION : `TLSv1.2` // default TLSv1.2
const tlsMaxVersion = process.env.TLS_MAX_VERSION ? process.env.TLS_MAX_VERSION : `TLSv1.3` // default TLSv1.3
const tlsRejectUnauthorized = process.env.TLS_REJECT_UNAUTHORIZED ? true : false // default false
const printConfiguration = process.env.PRINT_MAIL_CONFIGURATION ? process.env.PRINT_MAIL_CONFIGURATION : false // default false
Documentation: https://www.npmjs.com/package/nodemailer
Discussed in https://github.com/canarytrace/documentation/discussions/188