Moodle plugins directory: Newsletter | Moodle.org
Newsletter
Activities ::: mod_newsletter
Maintained by David Bogner, Wunderbyte GmbH
This is a newsletter module for moodle. First stable release. It provides the basic features of common newsletter tools. Using it with moodle VERP bounce processing is recommended. But we will add an additional bounce processing feature that will be easier to configure.
Latest release:
306 sites
128 downloads
51 fans
Current versions available: 6
Newsletter module
This is a typical newsletter module for moodle. The features are:
- Subscription methods: Opt in, opt out, forced
- Management of subscribed users: Cohort (un)subscription, Ajax user (un)subscription, filtering users
- Auto generated unsubscribe link
- Subscription of not yet registered users
- Multiple attachments
- Stylesheet: Attach a stylesheet and it will be converted to inline CSS (this is necessary for mail clients)
- Report of sent issues
- Resuming sending newsletter if there was a problem so that all recipients will get the newsletter
- Prevent duplicate message sending
- Issues overview with sort options: year/month/week
- Uses moodle internal VERP bounce system, if it is configured correctly
- Easy to use bounce processing: Just setup the mailbox for the noreply adress defined in the moodle configuration and it will automatically add bounce processing to all the newsletters
- Personalised newsletters: Supported replacement are (The pattern format starting with news:// makes it possible to use in in links without being modified by the editor):
- issueurl (URL pointing to the current issue for web view)
Pattern for replacement: news://issueurl/ - issuelink (a full html link pointing to the web view of the current issue)
Pattern for replacement: news://issuelink/ - firstname (First name of the user, the newsletter is sent to)
Pattern for replacement: news://firstname/ - fullname
Pattern for replacement: news://fullname/
- issueurl (URL pointing to the current issue for web view)
Upcoming features
- Tracking of read newsletter issues
- Statistics
- Templates engine
Useful links
Contributors
David Bogner (Lead maintainer)
Wunderbyte GmbH: Product owner
Please login to view contributors details and/or to contact them
Do you have any plans to be able to choose a group to send the newsletter too, similar to the news forum?
no we do not plan that feature. You can already subscribe cohorts to a newsletter, but not course groups. Do you want to subscribe a group or do you want to have some posts to be sent to one group and other posts to another group? In second case I would recommend to use 2 separate newsletter instances. In the first case I could put that on the wishlist.
Best,
David
A couple of things I noticed testing this in 2.9. There are a couple of notices for deprecated code that need updated. Also, when a newsletter is added with forced, all users are added to the subscriptions with no subscription date. You really should add timesubscribed to the newsletter_subscriptions in the newsletter_add_instance function.
Thanks for sharing!
can you explain me, how to use the newsletter plugin? i installed a set it, but when i wont to send newsletter, i dont know ho to do it.
thx!
best bobby
thank you for the feedback. I did rewrite the code for auto subscription upon add_instance and update instance. Concerning groups: It would be great if you can provide the code for groups and provide it on github, then I could merge it.
I will publish a new release in the following days.
Kind regards,
David
to send a newsletter: create a new newsletter issue, set the publishing date and make sure cronjob https://docs.moodle.org/29/en/Cron is running. It will be sent on the publishing date.
Best,
David
I have an error on my cron execution. It says..."Improper use of the newsletter class. Cannot load the newsletter record." I don't know what I have to change in my moodle installation. Any idea??
thanks for the comment. I will have a look at it now. What moodle version are you using?
Kind regards,
David
I installed it anyway and hoped for the best. Everything appears to work fine except for "Manage subscriptions". When I tried it, I got:
Coding error detected, it must be fixed by a programmer: Function cohort_get_visible_list() is removed. Please use function cohort_get_available_cohorts() ". "that correctly checks capabilities.
I would like to change it and see what happens. Which file should I edit?
"Subscribe/Unsuscribe" appears to work fine.
you might try to just replace these with search/replace. But I do not know if that is going to work. Use a search tool, that replaces all matches within a directory. On Ubuntu Linux that would be Searchmonkey or you can use an IDE like Eclipse. There might be an updated version until end of the year, but right now, there are other things that have priority.
Kind regards,
David