Your Moodle version

Activities: Newsletter

Maintained by it's me David Bogner
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.
Moodle 2.4, 2.5, 2.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

Upcoming features

  • Personalised newsletters
  • Tracking of read newsletter issues
  • Statistics
  • Templates engine


Screenshot #0
Screenshot #1


it's me
David Bogner (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Hamed Azimi
    Thu, Jun 18, 2015, 2:13 AM
    Hi David,

    Thanks again for your great support. (Intensively waiting for next updates)
    (Happy Holiday! )

  • Picture of Chardelle Busch
    Wed, Aug 19, 2015, 7:15 AM
    Hi David,
    Do you have any plans to be able to choose a group to send the newsletter too, similar to the news forum?
  • it's me
    Wed, Aug 19, 2015, 3:29 PM
    Hi Chardelle,

    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.

  • Picture of Chardelle Busch
    Thu, Aug 20, 2015, 6:41 AM
    No, problem. I have a site with dozens of groups, so a newsletter for each one is unreasonable. I just added some group code similar to forums and it worked great, newsletter went only to chosen group (I added groupid to the newsletter_issues table). I will be waiting for your addition of adding user variables to the content.

    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!
  • Picture of bobby peru
    Sat, Aug 22, 2015, 7:51 PM
    Hi all,
    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.
    best bobby
  • it's me
    Wed, Aug 26, 2015, 11:35 PM
    @bobby peru: Documentation will only be available late this year. meanwhile, please just experiment with the settings. most features do not need extra explanation.
  • it's me
    Thu, Aug 27, 2015, 1:17 AM
    Hi Chardelle,

    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,
  • Picture of bobby peru
    Thu, Aug 27, 2015, 2:03 AM
    hi david, settings are not problem, but i dont know how to send newletter
  • it's me
    Thu, Aug 27, 2015, 2:04 PM
    Hi Bobby,

    to send a newsletter: create a new newsletter issue, set the publishing date and make sure cronjob is running. It will be sent on the publishing date.

  • Picture of Ferran Garcia
    Thu, Nov 5, 2015, 6:01 PM
    Hi 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??
  • it's me
    Thu, Nov 5, 2015, 6:03 PM
    Hi Ferran,

    thanks for the comment. I will have a look at it now. What moodle version are you using?

    Kind regards,
  • Picture of Ferran Garcia
    Fri, Nov 6, 2015, 12:28 AM
    I'm using Moodle 2.9.2+ (Build: 20151023) The last one. And my issue has only a text like "Lorem Ipsum". Only for making tests smile
  • Picture of Ferran Garcia
    Tue, Nov 10, 2015, 8:18 PM
    Now Works fine with the new update!!! Thanks David!! All the best.
  • Picture of Jeus Perez
    Wed, Nov 25, 2015, 12:57 AM
    I was on the process of installing a new moodle site when Moodle 3.0 appeared; and I decided to install it. When looking for the Newsletter module, I became aware that the latest was for Moodle 2.9.
    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.
  • it's me
    Mon, Nov 30, 2015, 1:30 AM

    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,
1 2 3 4
Please login to post comments