Special thanks to Josh Davis for sharing this interesting approach. Just last month, I found myself wishing for an easy way to read all the messages students were sending to each other in our middle school situation, and this solution would have been handy to implement!
Here’s the code he shared as a link you can download. Note you’ll need to edit out everything but the code.
Update: Be sure to read the comments and check out Rusty Meyners tip without any special coding:
Rusty provided another link with more details. Give it a shot!
Update #2: Jeff Kitterman pointed out there is a Moodle Admin report that does this same thing without coding, etc. You can read about the Admin->Report->Message Log Report online.
Enter your email address:
Delivered by FeedBurner