Best email plugin to use
-
If i want to send mail thru google what plugin should i use?
Tried nodebb-plugin-emailer-ssl-smtp but it does not work with 0.6.x
Want to verify emails for users
Or what is the best service out there ? http://www.mailgun.com/ ???
-
Hi Mikael,
I use mailjet, which works well.
There is however one small problem, verifying emails serves no purpose with Nodebb, as regardless of whether the users are verified or unverified they remain in the same user group - namely "registered users" and their is no method of creating a group that verified members are automatically assigned to.
Personally I think this is severe limitation to the software as it allows anyone to join with a fictional address and access private content.
@julian @psychobunny @baris Any chance of getting this added to a to-do list?
-
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:
nodebb-plugin-emailer-ssl-smtp
NodeBB plugin to send emails via an SMTP service. Latest version: 0.1.7, last published: 10 years ago. Start using nodebb-plugin-emailer-ssl-smtp in your project by running `npm i nodebb-plugin-emailer-ssl-smtp`. There are no other projects in the npm registry using nodebb-plugin-emailer-ssl-smtp.
npm (www.npmjs.com)
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 -
I'm pretty sure some of them will get updates after realease of NodeBB v0.7.0 (stable). 3rd party developers are waiting for a stable version and NodeBB team is busy finishing it.
-
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