Skip to content

Enable forum digests

Matjaz Gregoric requested to merge mtyaka/email-tweaks into master

This PR enables and set up the forum digest feature.

It also fixes a problem where bulk email would fail to send because it wasn't getting properly rewritten to an email address verified in AuthSMTP.

Testing

Deploy a new instance using code in this PR.

Bulk email:

  1. Enable Bulk email.
  2. Log into LMS as staff.
  3. Go to Instructor -> Email.
  4. Send an email to yourself.
  5. Check that the email was successfully delivered to your mailbox.

Forum notifications:

  1. Log into LMS.
  2. Go to the Discussion tab; you should see the Discussion homepage.
  3. Tick the "Receive updates" box.
  4. Make some new forum posts.
  5. You should receive a digest email in 24 hours (you can also log into the VM and run python manage.py forums_digest as the notifier user to manually trigger the digest email task).

Reviewers

Merge request reports