Description
The task to send the daily mails of unread moodleoverflow posts does not look pretty. I don't like 2 things:
-
The sender of the mail (it should be a no-reply dummy mail) has a long hash.
Example:?utf-8?B?QW50d29ydGVuIFNpZSBuaWNodCBhdWYgZGllc2UgRS1NYWlsICjDvGJlciA=?= =?utf-8?B?TGVhcm53ZWIp?= <[email protected]>
The forum has an equal task but there the no-reply dummy mail is e.g."Do not reply to this email (via Learnweb)" <[email protected]>
. This version is a lot cleaner and beautiful to read. -
The content of the mail in moodleoverflow ist only a string of different links to the courses and the moodleoverflows that have unread posts. The forum task is "friendlier", it gives the option to change the daily mail setting, has a better structure and actually shows the message of the posts that is unread. In moodleoverflow this needs to be implemented with caution because of the anonymous setting of each moodleoverflow.
Reproduction:
Reproducing this issue and showing screenshots is difficult due to the use of sensitive data.
Type of issue:
Improvement of existing feature.
Priority (1-6):
3
What files need to changed?
- The task to send daily mails is in classes/task/send_daily_mail. This class needs to be improved. Maybe new language strings.
- send_daily_mail has unit-test coverage. The existing tests need to be adapted to the improvement. New unit-tests are not likely to be necessary. Behat-test are not necessary.