nodebb-plugin-emailer-local - Need to fix this!


  • Swedes

    1. 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 send test 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

    1. BTW, when nodebb-plugin-emailer-local is enabled (facebook-sso) stops working!


  • Yes - I have it working..

    Couple things:

    1. 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" }

    2. 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.


  • Admin

    Looks like the plugin is using the settings module but still reading from meta.config. @julianlam


  • Admin

    I updated the plugin and fixed a few bugs, new version 0.2.2



  • Nice moves man ... thank you so much!


  • Swedes

    1. I use mongodb, do in need to manipulate data in the db?

    2. Have you verified the issue with facebook sso not working when this plugin is enabled?

    3. I cant see any SSL option, does it auto detect?

    Will test more tomorrow 🙂


  • Swedes

    @baris ,

    1. Social sso plugin problem solved
    2. 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?


Log in to reply
 


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.