Patched version of QuickMail History script

Patched version of QuickMail History script

by Patrick Pollet -
Number of replies: 0
Hello,

We are an happy user of quickmail, but we found after usage that it
could lead to student's abuse, if they are allowed to use it, such as "sending a mail" to all participants, then deleting it from the history... Of course one can check the mail headers to find out the "offending user", but teacher may not be among the recipients... so it is hard to find out, if nobody complains.

So we have modified emaillog.php script as follow :

- It gives all user's mail history and not only mails sent by current user
- So, it must also display the sender's full name with a link to his/her profile
- We masked the delete/purge options for non teacher and made sure only teacher can delete mails in case of direct call by :
http://yourmoodle/blocks/quickmail/emaillog.php?id=45&instanceid=500&sesskey=Y3Ml7KcS3M&action=dump

Enjoy.

It would be nice to have a confirmation asked when deleting all history (!)

Another suggestion is to add to this tool a "black list" of abusing users
that could be created/edited by teacher/admin.

Tested only on Moodle 1.5.3.


Average of ratings: -