Socket webmail inbox log

A socket webmail inbox log!

Here's a sample log format for a socket-based webmail inbox:

# Log Format: Socket Webmail Inbox Log

# Timestamp (YYYY-MM-DD HH:MM:SS)
# IP Address (Client IP)
# User ID (Unique identifier for the user)
# Action (One of: CONNECT, DISCONNECT, READ, DELETE, MARK_READ, MARK_UNREAD)
# Message ID (Unique identifier for the message)
# Message Subject
# Message Body (Truncated to 100 characters)

2023-02-20 14:30:00
192.168.1.100
user123
CONNECT
1234567890
"Hello from John"
"This is a test message"

2023-02-20 14:30:05
192.168.1.100
user123
READ
1234567890
"Hello from John"
"This is a test message"

2023-02-20 14:30:10
192.168.1.100
user123
DELETE
1234567890
"Hello from John"
"This is a test message"

2023-02-20 14:30:15
192.168.1.100
user123
MARK_READ
1234567891
"Hello from Jane"
"This is another test message"

2023-02-20 14:30:20
192.168.1.100
user123
MARK_UNREAD
1234567891
"Hello from Jane"
"This is another test message"

In this log format:

This log format provides a basic record of user activity in the webmail inbox, including connections, disconnections, message reads, deletes, and marking as read or unread.