Best email plugin to use
-
But if i want a standard smtp setup for my forum? Howto ??
-
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-smtp -
@nhl.pl said:
https://www.npmjs.com/package/nodebb-plugin-emailer-ssl-smtp
https://www.npmjs.com/package/nodebb-plugin-emailer-ssl-smtp <-- This one is broken with v0.6.x i will try the other one
-
@Mikael said:
Or what is the best service out there ? http://www.mailgun.com/ ???
Mailgun is free for small accounts, prevents you from getting caught in a lot of generic spam filters and has my endorsement. And the plugin works great. It does take a bit of work to get your domain properly set up with the right DNS entries, but I don't regret it at all.
-
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