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
  • 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


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 bobby demers
    Tue, Jun 21, 2016, 10:42 PM
    Hi David.
    The Moodle version is 3.0.2+ (Build: 20160211) I had it running on a test course to see how it worked and if it would be useful to our organisation.

    I wasn't given the specific error message by our hosting firm. Only the information that it was the problem when our forum messaging stopped working.

    Where would I look for this error message to pass onto you?


  • it's me
    Mon, Jun 27, 2016, 4:46 AM
    Hi Bobby,

    nevermind. We will try to reproduce the problem on Moodle 3.0. If you have any information (Develop debug mode in Moodle), than you can always paste it here.

    Kind regards,
  • Picture of Georg Wiesinger
    Fri, Jul 29, 2016, 3:32 PM
    Hi David, does this plugin basically work with Moodle 3.1.1? I tried it a couple of days ago but had to uninstall the plugin as it stopped the cron entirely.
  • it's me
    Sun, Jul 31, 2016, 7:13 AM
    @Georg: We did solve those problems. Cronjob should now run smoothly.
  • Picture of Hamed Azimi
    Fri, Aug 5, 2016, 6:28 PM
    Hi David,

    when I want to edit a Newsletter in a course, I get a white page, and in debugging, I see this error:
    Fatal error: Class 'mod_newsletter' not found in /home2/learn/domains/ on line 776

    Any opinion will be appreciated.
  • it's me
    Wed, Aug 10, 2016, 8:32 AM
    Hi Hamed,

    I just uploaded a new version of the module, which will fix this issue. Also a long desired feature is now available: Personalising the newsletter. Look in the description of the module for details about this new feature.

    Kind regards,
  • Picture of Hamed Azimi
    Wed, Aug 10, 2016, 2:35 PM
    Hi David,

    Yes its now perfectly working. Thanks a lot!

  • Picture of Bert van der Hooft
    Thu, Aug 18, 2016, 11:10 PM

    Compliments! This is really what we need. Among others: personalised messaging!

    A small question: the subscriber receives a confirmation mail from: newsletter This with the text "Welcome"
    I want to change both: how to do this? I cannot find anything in the settings or the language strings which drives this.

  • it's me
    Tue, Aug 23, 2016, 11:15 PM
    @Bert van der Hooft: You can change this via customising your language:

    Kind regards,
  • Picture of Bert van der Hooft
    Sat, Aug 27, 2016, 5:51 PM

    The sending of email (via php) is instabile at my site. Sometimes it pops up in the cron and sometimes not. Which planned moodle task is executing the sending?

  • Picture of Bert van der Hooft
    Sat, Aug 27, 2016, 10:17 PM

    Thanks for your quick answer for the translation of the email text with the link you shared.

    I already did that, but the mail the subscriber receives on account opening keep having the subject "Welcome" and the sender "newsletter".

    A piece of the source of the email:

    Subject: Welcome
    X-PHP-Originating-Script: 519:class.phpmailer.php
    Date: Thu, 18 Aug 2016 17:05:30 +0200
    From: newsletter
    So: what's generating the header and sender in the mail. Pretty important, because that's the first thing the receiver see.

    Could you help me out?

    Kind regards

  • Picture of Bert van der Hooft
    Mon, Aug 29, 2016, 4:06 AM
    Sending of email instabile (see message 27 aug) solved by upgrading moodle to the newest version.
  • Picture of Georg Wiesinger
    Thu, Oct 20, 2016, 9:36 PM
    Hi David,

    I'm not receiving newsletters by email! Plugin is installed properly in its latest version, Moodle up to date (3.1.2+). Do I have to set up the bounce handling to get this working? Many thanks in advance!

    Kind regards,
  • it's me
    Fri, Oct 21, 2016, 7:16 PM
    Hi Georg,

    did you configure an smtp server? This is necessary in order to make it work

    Kind regards,
  • Picture of Georg Wiesinger
    Tue, Oct 25, 2016, 2:45 PM
    Hi David,

    thanks for your hint! There was a typo in the smtp server settings, now it works like a charm! smile

    Best regards,
1 2 3 4 5
Please login to post comments