fix: use secure: true instead of smtps:// in mailer#1952
Conversation
secure: true instead of smtps:// in mailer
|
If I understood correctly the docs, I've spent time to understand TLS, STARTTLS, etc... but it's a mess. I think the best article was this one https://mailtrap.io/blog/starttls-ssl-tls/#Which-ports-are-used-for-Implicit-and-Explicit-SSLTLS In the end I think using |
pyphilia
left a comment
There was a problem hiding this comment.
LGTM! Thanks for this PR 🧶
|



In this PR:
secure: truefor SSL/TLS #1921 Deprecation warning from NodeJsMAILER_USE_SSLenv var to control the use of SSL with the mailer. By default the value is to disable SSL in DEV and enable in PROD.trueand1as truthy values any other value is considered false. We can provide a default value, when no default is provided, it isfalse.