Best email plugin to use
-
I get " warn: [emailer.smtp] Unable to send
test
email to uid 1!!" when using the local plugin. Is that an auth error ? Should it work with port 465 (I am using SMTP with ssl ) -
Is there somone here that have SMTP ssl working with v0.6.x?
https://www.npmjs.com/package/nodebb-plugin-emailer-ssl-smtp <-- This just crashes
https://github.com/julianlam/nodebb-plugin-emailer-local <-- This does not seam to support ssl.
I have tried used the ssl:// like this ssl://mailcluster.loopia.se
Using port 465
Works great in phpbb, something is wrong with nodebb
-
Did you ever get this sorted out, @Mikael?
The problem is more likely the plugin, as NodeBB just doesn't have email support built in. Maybe the SSL local mailer needs someone to look at it.
Not to beat a dead horse, but I'm very happy with my mailgun setup. SSL email was not supported by the local mailer when I set it up, but I'm glad, in the end, that I don't have to deal with a mail server.
-
@Mikael said:
Is there somone here that have SMTP ssl working with v0.6.x?
https://www.npmjs.com/package/nodebb-plugin-emailer-ssl-smtp <-- This just crashes
https://github.com/julianlam/nodebb-plugin-emailer-local <-- This does not seam to support ssl.
I have tried used the ssl:// like this ssl://mailcluster.loopia.se
Using port 465
Works great in phpbb, something is wrong with nodebb
Today i've hit exactly the same problem under v0.7.
https://community.nodebb.org/topic/4278/plugin-settings-are-missing-v0-7-0-dev-nodebb-plugin-emailer-ssl-smtpUsing an external mail service isn't an option.
-
@nhl.pl said:
You can use one of the available plugins.
https://github.com/julianlam/nodebb-plugin-emailer-local
https://www.npmjs.com/package/nodebb-plugin-emailer-ssl-smtpThe first one doesn't work with SSL/TLS.
The second one doesn't work at all. -
@baris said:
That's correct you can setup nodebb so users can't post if their email is not verified.
Also checkout https://github.com/pichalite/nodebb-plugin-newuser-approval
Also this PlugIn doesn't work with version 0.7.0.
https://github.com/pichalite/nodebb-plugin-newuser-approval/issues/3 -
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?