Flags, as they are understood now, are as follows:
First flag byte (following from_id):
0x80 - commercial message (meaning a 13 byte object ID will follow the subject and be displayed through MSZC0000.MAP\01\04
0x40 - retained; client may set this one time, which pushes the delete date to sent date + 28 days
0x10 - read (starts as 0, meaning unread; set to 1 when the RS requests the message; should also adjust the delete date to sent date + 3 days)
0x04 - This is a bounce message. This should be set by messaging when generating the bounce.
0x02 - Hide sender. This should be optionally set on bounce messages.
0x01 - Disable reply.
Should add boolean columns to the message table, corresponding bits to the schema, and add logic to change delete date when unread messages are read.
Also add a field to the schema and database named original_recipients, which should be the concatenated list of IDs a message was originally sent to. This field should be populated in send_message/6.
Flags, as they are understood now, are as follows:
First flag byte (following from_id):
0x80- commercial message (meaning a 13 byte object ID will follow the subject and be displayed throughMSZC0000.MAP\01\040x40- retained; client may set this one time, which pushes the delete date to sent date + 28 days0x10- read (starts as 0, meaning unread; set to 1 when the RS requests the message; should also adjust the delete date to sent date + 3 days)0x04- This is a bounce message. This should be set by messaging when generating the bounce.0x02- Hide sender. This should be optionally set on bounce messages.0x01- Disable reply.Should add boolean columns to the message table, corresponding bits to the schema, and add logic to change delete date when unread messages are read.
Also add a field to the schema and database named
original_recipients, which should be the concatenated list of IDs a message was originally sent to. This field should be populated insend_message/6.