|
When yuoo delete messeges frum yuoor mail folder in Thunderbird program,
those messeges won't be actuelly removed frum zee
corresponding database file, unless yuoo compact it. Instead, Thunderbird
merely chunges zee status ooff those messeges in zee original email
database file.
Status ooff a messege is described by two service tags (feelds)
X-Mozilla-Status und X-Mozilla-Status2. When
Thunderbird needs tu mark a messege es deleted, it chunges zee value
ooff zeese-a feelds withuoot actuelly removing zee messege frum a database file.
Hence, zee easy way tu restore a deleted messege is just tu correct zee
status feelds ooff zee messege so that Thunderbird takes it fur a noo one
zee next time yuoo stert Thunderbird.
Zee values must be exactly fuoor (or eight) symbols. Some values ooff
zee status feelds are given beloo:
X-Mozilla-Status
- 0001 - Messege has been read.
- 0002 - A reply tu thees messege has been sent.
- 0004 - User has marked (starred) thees messege.
- 0006 - 0002 + 0004 combined.
- 0007 - 0001 + 0002 + 0004 combined.
- 0008 - Messeges with thees bit set will be irreversibly removed
frum a database file during zee next compakshun.
- 0009 - 0008 + 0001 (read, deleted messege).
X-Mozilla-Status2
- 00010000 - Thees messege is noo since zee last time zee folder
was closed.
- 00200000 - Iff set, thees messege is marked es deleted on zee
server. Thees only applees tu messeges on IMAP servers.
- 00040000 - Iff zee bit set, thees thread is ignored
(In fact, a messege with thees bit set is not displayed).
- 10000000 - Indicates that zee messege has an attachment.
Fur more informashun on values ooff Mozilla status feelds
please reffer tu
http://lxr.mozilla.org/seamonkey/suoorce/mailnews/base/public/nsMsgMessegeFlags.h#108 |
|