[nodebb-plugin-newsletter] Send e-mail newsletters to your users.
-
v0.7 Changelog!
- Fixed nbb v1.5.x compatibility
- Now uses tinyMCE
- Can select multiple groups to send to at once.
- Can override subscription settings.
- Can use an e-mail blacklist.
-
Hello, hoping someone can help here!
I'm having an issue with this plugin saying users are banned. I've set up the in built Gmail service and test emails/digest/registration emails etc are all working wonderfully.
I have the newsletter plugin installed (and I reinstalled it to see if this helped, it didn't) and every time I try to send a newsletter I get a message saying successfully sent, but no email arrives. Looking at the logs, I'm getting the following:
13/10 09:07:37 [7395] - [32minfo[39m: [Newsletter] UID 2 is attempting to send a newsletter.
13/10 09:07:37 [7395] - [32minfo[39m: [Newsletter] Sending newsletter to groups: "everyone"
13/10 09:07:37 [7395] - [33mwarn[39m: [Newsletter] UID 1 has invalid user data, skipping...
13/10 09:07:37 [7395] - [32minfo[39m: [Newsletter] UID 2 is banned, skipping...
13/10 09:07:37 [7395] - [32minfo[39m: [Newsletter] UID 3 is banned, skipping...
13/10 09:07:37 [7395] - [32minfo[39m: [Newsletter] UID 4 is banned, skipping...
13/10 09:07:37 [7395] - [32minfo[39m: [Newsletter] Successfully sent newsletter to 0 user(s)!UID1 is the admin account I think, which does not have an email address associated with it. UID2 is my account, also with adminstrator privileges, and I am definitely not banned...
Has anyone run into this problem before? I have tried using every single email plugin with the same results, although given that the other email functions are working and its saying sent to 0 users, i suspect its some other issue rather than email authorization. Appreciate any help!
Cheers,
Craig -
Version 0.9
- Added option to exclude site title from email subject.
- Changed parsing to convert relative links to absolute.
-
@Varun-Ganesh-D It does not include banned users. They are always excluded from newletters.
nodebb-plugin-newsletter/lib/index.js at master · yariplus/nodebb-plugin-newsletter
Send an email newsletter to all users or a group of users. - nodebb-plugin-newsletter/lib/index.js at master · yariplus/nodebb-plugin-newsletter
GitHub (github.com)
-
@yariplus
ive updated nodebb now to latest version
there i got new option as verified user and unverified user.
but i cannot able to send mails to unverified users.
getting error logs like this2020-11-05T10:55:56.262Z [4567/15105] - [33mwarn[39m: uid : 1466 has not confirmed email, not sending "newsletter" email. 2020-11-05T10:55:56.262Z [4567/15105] - [33mwarn[39m: uid : 1476 has not confirmed email, not sending "newsletter" email. 2020-11-05T10:55:56.262Z [4567/15105] - [33mwarn[39m: uid : 1478 has not confirmed email, not sending "newsletter" email. 2020-11-05T10:55:56.263Z [4567/15105] - [33mwarn[39m: uid : 1481 has not confirmed email, not sending "newsletter" email. 2020-11-05T10:55:56.263Z [4567/15105] - [33mwarn[39m: uid : 1482 has not confirmed email, not sending "newsletter" email. 2020-11-05T10:55:56.263Z [4567/15105] - [33mwarn[39m: uid : 1484 has not confirmed email, not sending "newsletter" email. 2020-11-05T10:55:56.263Z [4567/15105] - [33mwarn[39m: uid : 1495 has not confirmed email, not sending "newsletter" email. 2020-11-05T10:55:56.264Z [4567/15105] - [33mwarn[39m: uid : 1497 has not confirmed email, not sending "newsletter" email. 2020-11-05T10:55:56.264Z [4567/15105] - [33mwarn[39m: uid : 1498 has not confirmed email, not sending "newsletter" email. 2020-11-05T10:55:56.264Z [4567/15105] - [33mwarn[39m: uid : 1499 has not confirmed email, not sending "newsletter" email. 2020-11-05T10:55:56.264Z [4567/15105] - [33mwarn[39m: uid : 1501 has not confirmed email, not sending "newsletter" email. 2020-11-05T10:55:56.264Z [4567/15105] - [33mwarn[39m: uid : 1503 has not confirmed email, not sending "newsletter" email. 2020-11-05T10:55:56.265Z [4567/15105] - [33mwarn[39m: uid : 1504 has not confirmed email, not sending "newsletter" email. 2020-11-05T10:55:56.265Z [4567/15105] - [33mwarn[39m: uid : 1505 has not confirmed email, not sending "newsletter" email. 2020-11-05T10:55:56.265Z [4567/15105] - [33mwarn[39m: uid : 1506 has not confirmed email, not sending "newsletter" email. 2020-11-05T10:55:56.265Z [4567/15105] - [33mwarn[39m: uid : 1507 has not confirmed email, not sending "newsletter" email. 2020-11-05T10:55:56.265Z [4567/15105] - [33mwarn[39m: uid : 1508 has not confirmed email, not sending "newsletter" email. 2020-11-05T10:55:56.266Z [4567/15105] - [33mwarn[39m: uid : 1509 has not confirmed email, not sending "newsletter" email. 2020-11-05T10:55:56.266Z [4567/15105] - [33mwarn[39m: uid : 1510 has not confirmed email, not sending "newsletter" email. 2020-11-05T10:55:56.266Z [4567/15105] - [33mwarn[39m: uid : 1511 has not confirmed email, not sending "newsletter" email. 2020-11-05T10:55:56.266Z [4567/15105] - [33mwarn[39m: uid : 1512 has not confirmed email, not sending "newsletter" email.
I just tried to notify all unverified users to verify email
-
@varun-ganesh-d You can disable
require email confirmation
temporarily, send the emails and then re-enable it. We will have to look into a solution, right now the emailer doesn't send emails to unverified emails. -
at onErrorNT (internal/child_process.js:469:16) at processTicksAndRejections (internal/process/task_queues.js:84:21) at runNextTicks (internal/process/task_queues.js:66:3) at processImmediate (internal/timers.js:429:9) 2020-11-06T07:27:46.011Z [4567/15105] - [31merror[39m: Error: spawn sendmail ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19) at onErrorNT (internal/child_process.js:469:16) at processTicksAndRejections (internal/process/task_queues.js:84:21) at runNextTicks (internal/process/task_queues.js:66:3) at processImmediate (internal/timers.js:429:9) 2020-11-06T07:27:46.041Z [4567/15105] - [31merror[39m: Error: spawn sendmail ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19) at onErrorNT (internal/child_process.js:469:16) at processTicksAndRejections (internal/process/task_queues.js:84:21) at runNextTicks (internal/process/task_queues.js:66:3) at processImmediate (internal/timers.js:429:9) 2020-11-06T07:27:46.043Z [4567/15105] - [32minfo[39m: [Newsletter] Successfully sent newsletter to 731 user(s)! LOGS CONTROL PANEL
Getting this error while sending emails
Why? -
@varun-ganesh-d what is your email setup?
-
v0.9.2
Updated plugin to support one-click unsubscribe links and unsubscribe headers.
Also added a new message to the email footer if an admin chooses the "override subscription settings" option.
-
Hello,
this is a very helpful plugin.The technical administrator rarely sends out the newsletters, therefore the question:
Would it be possible to use the plugin without admin rights? e.g. global moderators.
We would not like to release the entire administration.
Thank you in advance.
-
Version 0.10.0
Scuff update for nodebb 2.x
A bit late, but better than never.