Newsletter

Activities ::: mod_newsletter
Maintained by it's meDavid Bogner, Wunderbyte LogoWunderbyte 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/

Upcoming features

  • Tracking of read newsletter issues
  • Statistics
  • Templates engine

Screenshots

Screenshot #0
Screenshot #1

Contributors

it's me
David Bogner (Lead maintainer)
Wunderbyte Logo
Wunderbyte GmbH: Product owner
Please login to view contributors details and/or to contact them

Comments RSS

Comments

  • Chardelle Busch
    Wed, 19 Aug 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, 19 Aug 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.

    Best,
    David
  • Chardelle Busch
    Thu, 20 Aug 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!
  • bobby peru
    Sat, 22 Aug 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.
    thx!
    best bobby
  • it's me
    Wed, 26 Aug 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, 27 Aug 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,
    David
  • bobby peru
    Thu, 27 Aug 2015, 2:03 AM
    hi david, settings are not problem, but i dont know how to send newletter
  • it's me
    Thu, 27 Aug 2015, 2:04 PM
    Hi Bobby,

    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
  • Ferran Garcia
    Thu, 5 Nov 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, 5 Nov 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,
    David
  • Ferran Garcia
    Fri, 6 Nov 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
  • Ferran Garcia
    Tue, 10 Nov 2015, 8:18 PM
    Now Works fine with the new update!!! Thanks David!! All the best.
  • Jeus Perez
    Wed, 25 Nov 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, 30 Nov 2015, 1:30 AM
    Hi,

    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
  • Andreas Schenkel
    Sat, 20 Feb 2016, 10:25 PM
    Will this plugin work on moodle 3.0?
Please login to post comments