Danor / nodebb-plugin-emailer-smtp

Plugin for NodeBB allowing you to send e-mail via SMTP.
MIT License
2 stars 12 forks source link

Option to allow self-signed SSL certificates #2

Open elelel opened 7 years ago

elelel commented 7 years ago

Currently the module does not have an option to allow SMTP servers with self-signed certificates. These can be useful in scenarios when only encryption layer is required. This can be fixed by adding: tls: { rejectUnauthorized: settings['emailer:local:tls_allow_unauthrozied'] } to smtpConfig variable in Emailer.send function.