Hackfest UK 2014/Email Logging
From MoodleDocs
Message Logging and Reporting
- Contact Name: Larry Zoumas (larry.zoumas@xtractor.se) Martin Sandberg (martin.sandberg@xtractor.se)
- please add name if interested
Changing the focus to messaging instead of only emails
Notes:
- Not all emails go through the messaging scary.
- We might want to make a place to hook into this or decorate it
Capability:
- Can View own messages
- Can View other messages
- Can View courses you own
Options:
- Optionally log body
Proposed Table Schema
messaging_log
- id
- from (user_id)
- message_type (FK mdl_message_provider)
- moduleid
- courseid
- subject
- body_id
- time
messaging_log_user
- id
- message_log_id (FK to messaging log)
- userid
- to_address (email address or identifier when the message was sent)
- time
- status
messaging_log_body
- id
- body_text