Best email plugin to use
-
It would have been nice if someone could patch it When did it last work?
-
I have a working https://www.npmjs.com/package/nodebb-plugin-emailer-ssl-smtp plugin on NodeBB 0.7.x-dev on OpenShift.
I'm not sure if it's the same problem, but in my case, plugin (or, to be more exact, part of node.js internals) could not verify SMTP server's certificate.Adding following line, somewhere at the head of
nodebb-plugin-emailer-ssl-smtp/index.js
should help in such case, but please keep in mind, that it makes sending mails (and any outgoing connections made from the application) unsecure:process.env['NODE_TLS_REJECT_UNAUTHORIZED'] = '0';
Which means, it should be done ONLY for testing.
If you would like to get a better error report from the plugin, you can try to modify line 48 of
nodebb-plugin-emailer-ssl-smtp/index.js
file, to look like this:winston.warn('[emailer.smtp] Unable to send `' + data.template + '` email to uid ' + data.uid + '!!', err);
That should output full error data from node.js to your logs/console, which should help to find out why the plugin could not send e-mail.
-
I guess nobody will patch it to work with 0.6.x
-
I wrote down a workaround. Hope that helps:
https://community.nodebb.org/topic/4323/emailer-via-local-smtp-an-ssl-tls -
you can use postfix, install node-plugin-email-local and just activate it and don't fill data
nodebb will send mail through postfix if you have it in your server -
Yeah I know, but it would be better with at working plugin where settings for ssl and google smtp works.
-
Any updates on nodebb-plugin-emailer-ssl-smtp plugin for 0.7.x?
Does it work now or is it still broken?
At the moment i only use SSO services for signup but it would have been great if users could get mail notify on new post and such
-
I had modified the nodebb-plugin-emailer-local plugin.
Add a checkbox, 'Enable secure connection' option.
https://github.com/fiag/nodebb-plugin-emailer-localHope it helps.
-
Can we merge this to your repo @julianlam (If thats the master branch of the plugin)
-
@Jenkler @julianlam My pull request https://github.com/NodeBB/nodebb-plugin-emailer-local/pull/10
Screenshot:
-
Does it work with gmail?
-
-
I dont have any emailer plugin installed but nodebb states " Emailer Installed" ?
-
Why kan i only dowload from "https://github.com/mario56/nodebb-plugin-emailer-local-0.7" in the <-- Is this the NodeBB main repository?
-
Can someone confirm a working setup with gmail smtp service?
-
-
@Jenkler said:
- I dont have any emailer plugin installed but nodebb states "Emailer Installed" ?
What output give you
ls node_modules | grep emailer
?If you get some thing like
nodebb-plugin-emailer-local-0.7
, you can usenpm uninstall nodebb-plugin-emailer-local-0.7
to uninstall them.To remove the mailer-prefs you have to go into the redis shell.
redis-cli
Find the settingsKEYS *mailer*
. Example result:1) "settings:emailer-local"
and remove itDEL settings:emailer-local
. And exit.Finaly restart nodebb.
- Why kan i only dowload from "https://github.com/mario56/nodebb-plugin-emailer-local-0.7" in the <-- Is this the NodeBB main repository?
I thought exactly the same.
But this mario56 plugin it seems to work with SSL! (v0.7.0)
-
The only thing i need to know is howto get a working email setup with gmail (ssl)
What is the best and correct way todo this?
BTW: I dont use redis only mongoDB
-
@Jenkler said:
The only thing i need to know is howto get a working email setup with gmail (ssl)
What is the best and correct way todo this?
BTW: I dont use redis only mongoDB
Gmail's mail server can't be used , because of something (can't remember what that was)