Thunderbird:Backend Hacking Guide For Newbies: Difference between revisions

Jump to navigation Jump to search
Line 213: Line 213:
''See [[MailNews:Address Book|Address Book Planning]] page for recent improvements.''
''See [[MailNews:Address Book|Address Book Planning]] page for recent improvements.''


Thunderbird uses a folder-based hierarchical representation to organize messages. [http://wiki.mozilla.org/User:Emre/tb/architecture/diagrams/messagefolder <code>Folder</code>] (or <code>MsgFolder</code>) is the logical entity that contains message contents belong to the same hierarchical level. Message content consists of message headers and message body including attachments. These two entities are stored in different physical stores to improve the system performance. Every <code>Account</code> has a root folder, which may have several subfolders (each potentially with their own subfolders, ad infinitum) which are actual folders on the hosting operating system.   
Thunderbird uses a folder-based hierarchical representation to organize messages. [http://wiki.mozilla.org/User:Emre/tb/architecture/diagrams/messagefolder <code>Folder</code>] is the logical entity that contains message contents belong to the same hierarchical level. Message content consists of message headers and message body including attachments. These two entities are stored in different physical stores to improve the system performance. Every <code>Account</code> has a root folder, which may have several subfolders (each potentially with their own subfolders, ad infinitum) which are actual folders on the hosting operating system.   


[http://wiki.mozilla.org/User:Emre/tb/architecture/diagrams/messagedatabase <code>Database</code>] entity represents the physical store of message. Each "Folder" (in the Thunderbird sense) which can contain messages is represented by two files (in the OS sense): the messages themselves (headers and bodies, in human-readable  [http://en.wikipedia.org/wiki/Mbox mbox] format) are in one file ("folder" name without extension), while a second file ('''msf''' file in '''[[Mork]]''' format) indexes them for fast access to a given message.
[http://wiki.mozilla.org/User:Emre/tb/architecture/diagrams/messagedatabase <code>Database</code>] entity represents the physical store of message. Each "Folder" (in the Thunderbird sense) which can contain messages is represented by two files (in the OS sense): the messages themselves (headers and bodies, in human-readable  [http://en.wikipedia.org/wiki/Mbox mbox] format) are in one file ("folder" name without extension), while a second file ('''msf''' file in '''[[Mork]]''' format) indexes them for fast access to a given message.
270

edits

Navigation menu