Your Moodle version

Activities: Newsletter

mod_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.
931
74
1
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

  • Tracking of read newsletter issues
  • Statistics
  • Templates engine

Screenshots

Screenshot #0
Screenshot #1

Contributors

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

Comments RSS

Show comments
  • it's me
    Wed, Jun 17, 2015, 6:07 PM
    Hi Hamed,

    I will try to install it directly from moodle as you did. Which Moodle version are you using?

    Best,
    David
  • Picture of Hamed Azimi
    Wed, Jun 17, 2015, 6:09 PM
    Hi David,

    Latest official update of Moodle 2.9

    Best,
    Hamed
  • it's me
    Wed, Jun 17, 2015, 6:15 PM
    Hi Hamed,

    I just realized that I used an admin setting, that is only available in the theme I use. It seemed to be a core setting but in fact was just added by the theme. I will fix that.

    Best,
    David
  • Picture of Hamed Azimi
    Wed, Jun 17, 2015, 6:23 PM
    Thanks David,

    It would be great if I use this module in our class which will be started at June 23. (So, waiting for update)
    Also thanks about solving UTF-8 problem (I'll send full feedback after being able to install it)

    Best,
    Hamed
  • it's me
    Wed, Jun 17, 2015, 6:25 PM
    Hi Hamed,

    I just fixed that problem. You have to update the settings.php file with the newest version in order to make your site work again. Or use the theme campus, that would solve the problem too: https://moodle.org/plugins/view/theme_campus


    Best,
    David
  • Picture of Hamed Azimi
    Wed, Jun 17, 2015, 7:09 PM
    Hi David,

    Thanks. Installed and worked. But it seems that is not sending mails (But in first version it was working fine). All the settings are correct and logically it should work (Any idea?).
    (I even installed your theme, and its so great but has number of problems with RTL)

    Best,
    Hamed
  • it's me
    Wed, Jun 17, 2015, 7:30 PM
    Hi Hamed,

    what method do you use for sending the mails? The PHP internal method /admin/settings.php?section=messagesettingemail or do you use an SMTP server? Did you fill in bounce settings and did you test them? When you turn on debugging in newsletter settings and you run the cron script /admin/cron.php is there any relevant information?

    Concerning the theme: Unfortunately we did not have the budget for RTL support, and we do not need RTL for our usecases.

    Best,
    David
  • Picture of Hamed Azimi
    Wed, Jun 17, 2015, 7:54 PM
    Hi David,

    I use SMTP server. And I filled all the fields in bounce setting correctly (Other places like message and etc... of the site are sending emails. but this module is not sending)
    When I run cron, it says: Starting activity modules - Processing module function newsletter_cron ... Done (relevant information).

    (Thanks about theme. If I use choose it as my default theme, I will fix it for RTL and will send it to add to your package if you like)

    Best,
    Hamed
  • it's me
    Wed, Jun 17, 2015, 8:56 PM
    Hi Hamed,

    I tried to send newsletter now on Moodle 2.7 and 2.9 and it works perfectly. Nevertheless I uploaded a new version, because I saw that I did not check if bouncing was enabled in cron job. But sending mails worked before. Did you check the status of the users in manage subscriptions? If they are blacklisted, they won't receive any mails.

    Best,
    David
  • Picture of Hamed Azimi
    Wed, Jun 17, 2015, 9:32 PM
    Hi David,

    Thanks. Just updated. (User's subscriptions are Active.But still no email sent) Some of my module settings:
    he service to use (imap or pop3) = pop3
    The service options (none, tls, notls, ssl) = none
    The port to access your mailbox = 110 (0, 143, 995 also not worked)
    (I use SMTP). Any idea?

    Best,
    Hamed
  • Picture of Hamed Azimi
    Wed, Jun 17, 2015, 9:48 PM
    Also I changed 110 to 465 (to send using SMTP securely) but not worked. I don't know what else I should do.(All other places in my system send email without any problem. But this module doesn't. I don't know why!) Any idea? Thanks

    Best,
    Hamed
  • it's me
    Thu, Jun 18, 2015, 1:26 AM
    Hi Hamed,

    maybe there is a misunderstanding: Sending the mails is done by the smtp server defined in /settings.php?section=messagesettingemail If these settings are empty, then PHP will send it without an smtp server. The settings you described are the bounce settings for the newsletter. This should be the mailbox login data for the noreply adress which is also defined in the moodle settings /settings.php?section=messagesettingemail

    You can test if the login data are correct at the following url: http://localhost/moodle/mod/newsletter/bouncetest.php (adapt the url to your moodle site).

    I can not reproduce the problem so I would need more information. Maybe there is an issue with farsi, I will test that. You could enable Cron DEBUG mode in http://localhost/moodle/admin/settings.php?section=modsettingnewsletter and also enable smtp debugging: http://localhost/moodle/admin/settings.php?section=debugging
    But that is not recommended for production sites.

    If the a newsletter issue is marked green in the issues overview, then the newsletter won't be sent again. So you have to create a new issue if you want to test it.

    Best,
    David
  • Picture of Hamed Azimi
    Thu, Jun 18, 2015, 2:04 AM
    Hi David,

    Thanks a lot, Now its working! (I created a new noreply email account and activated it and choose it as noreply email in settings). UTF-8 problem is also solved.
    One more question:
    1.Is it possible to put some code in mail content and those code automatically be replaced with "user's name" or "user's other information" in the emails that received by users?

    Best,
    Hamed
  • it's me
    Thu, Jun 18, 2015, 2:07 AM
    Hi Hamed,

    yes that is on our feature list. But I am on holiday the next 2 weeks. So I think it will be ready in about 3 weeks time.

    Best,
    David
  • 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! )

    Best,
    Hamed
1 2 3
Please login to post comments