Enable forum digests
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:
- Enable Bulk email.
- Log into LMS as staff.
- Go to Instructor -> Email.
- Send an email to yourself.
- Check that the email was successfully delivered to your mailbox.
Forum notifications:
- Log into LMS.
- Go to the Discussion tab; you should see the Discussion homepage.
- Tick the "Receive updates" box.
- Make some new forum posts.
- You should receive a digest email in 24 hours (you can also log into the VM and run
python manage.py forums_digest
as thenotifier
user to manually trigger the digest email task).
Reviewers