The code puts people into 1 of three lists for messaging purposes. White, grey (default) and black. The code also provides provision for setting the time during a day when messaging is available.
White list - Full access
- Can send and receive message when ever they want to whoever the want
Grey list - partial access by time
- Everyone a is member by default
- Available from and to times as configuration variables
- If (available from = available to) then messaging IS enabled completely all of the time
- Messages cannot be sent by these members during the 'offline' time
Black list - banned / prevented completly (naughty boys and girls)
- Completely blocked from sending mail
- Completely blocked from receiving mail UNLESS it is from a white list member
We have been using this for a little while now so I've had some more ideas but further feedback is welcome