nodebb-plugin-emailer-local - Need to fix this!
-
- Does anybody here have https://github.com/NodeBB/nodebb-plugin-emailer-local working on v.0.8.0 ?
Error:
4/10 22:37 [22110] - warn: [emailer.smtp] Unable to sendtest
email to uid 1!!Should this plugin work with SSL? Does it work with Google or other know SMTP servers?
4/10 22:36 [22110] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run
./nodebb reset -p PLUGINNAME
to disable it.- nodebb-plugin-emailer-local
- BTW, when nodebb-plugin-emailer-local is enabled (facebook-sso) stops working!
-
Yes - I have it working..
Couple things:
-
I had to reinstall the plugin using npm install nodebb-plugin-emailer-local. You'll notice in the plugin.json file - the line:
{ "hook": "action:email.send", "method": "send" }
changes to:
{ "hook": "filter:email.send", "method": "send" } -
I had to ensure my keys in redis for SMTP username and password contained the proper creds. It seems like the admin page doesn't write back to the proper keys when saving the data ... and when the plugin runs, it pulls from the wrong keys. If you're using redis - check the key settings by starting redis-cli and then inspecting:
hget config emailer:local:username
hget config emailer:local:password
If they need to be updated, use:
hset config emailer:local:username <proper username>
hset config emailer:local:password <proper password>once that's completed, restart your nodebb instance and verify email is working now.
-
-
Looks like the plugin is using the settings module but still reading from meta.config. @julianlam
-
Nice moves man ... thank you so much!
-
-
I use mongodb, do in need to manipulate data in the db?
-
Have you verified the issue with facebook sso not working when this plugin is enabled?
-
I cant see any SSL option, does it auto detect?
Will test more tomorrow
-
-
@baris ,
- Social sso plugin problem solved
- I can now select ssl option
Still get
[plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run
./nodebb reset -p PLUGINNAME
to disable it.- nodebb-plugin-emailer-local
And Emailer not installed , any suggestions?