The local emailer plugins don't work out of the box with SSL/TLS. But it's possible, because those plugins share the same settings. This workaround worked with my installation. Hope it will help you too.
Rem: If you've tried to setup the local emailer plugin, it will be better if you reset the local emailer settings in the database before you continue.
- Go to your NodeBB directory. Install the plugins.
$ cd ~/nodebb
$ npm install nodebb-plugin-emailer-ssl-smtp
$ npm install nodebb-plugin-emailer-local
- Remove line 39 in the file "node_modules/nodebb-plugin-emailer-ssl-smtp/templates/admin/emailers/smtpssl.tpl".
<!-- If you're using an older commit, use type="text". Or pulling the up-to-date version would be even better ;) -->
Or patch it like here: Source
- Open the log
$ ./nodebb log
-
Open the Homepage of your NodeBB-Forum. Login as Admin and open the Admin Panel.
-
Open ACP > EXTEND > Plugins
Activate nodebb-plugin-emailer-ssl-smtp
Don't activate nodebb-plugin-emailer-local
Reload Forum
Reload Page -
Open ACP > INSTALLED PLUGINS > Emailer (Local) Smtp SSL
Fill out the Settings
Click "Save"-Button -
Open ACP > SETTINGS > Email
Enter the Email-Address. (If you forget it, you mails will be end up as spam)
Click "Save Changes"-Button
Click "Send Test Mail"-Button
If the log shows this, continue:
22/4 13:05 [10871] - warn: [emailer.smtp] Unable to send `test` email to uid 1!!
22/4 13:05 [10871] - warn: [emailer.smtp] Unable to send `test` email to uid 1!!
22/4 13:05 [10871] - warn: [emailer.smtp] Unable to send `test` email to uid 1!!
-
Open ACP > EXTEND > Plugins
Dectivate nodebb-plugin-emailer-ssl-smtp
Activate nodebb-plugin-emailer-local
Reload Forum
Reload Page -
Open ACP > SETTINGS > Email
Click "Send Test Mail"-Button
Watch log for:
22/4 13:09 [10871] - info: [emailer.smtp] Sent `test` email to uid 1
22/4 13:09 [10871] - info: [emailer.smtp] Sent `test` email to uid 1
22/4 13:09 [10871] - info: [emailer.smtp] Sent `test` email to uid 1
Done.
Kudos to @ahwayakchih. He was big help to get this running.