Doctype
|
|
^
MAILFOLDER ---- NEWSFOLDER
| | |
| | \___ IRList
| | \
| \__________ Maildigest -- DigestTOC
| /
\_________ Listdigest
The BSn mail doctypes have been designed to accept and correctly handle
nearly anything that ends up in a mailfolder.
The MAILFOLDER, NEWSFOLDER, IRLIST, MAILDIGEST, LISTDIGEST and DIGESTTOC doctypes are all intimately intertwined into one another.
The AUTODETECT class knows how to indentify these files, basically those with mail headers and those with news headers. All these files are passed to the MAILFOLDER doctype. It in turn understands the different types of mail and passes the records to the suitable doctype. These doctypes are also equiped with identification logic and can pass the doctype to yet another class.
In practice this means that: a folder can contain a mixture of all the kinds of mail that arrive in ones mailbox, even mixed with newsfolders. Due to this design it is well suited for use as part of an automatic list or behind a incoming mail filter.
The MIME type for "Raw" records is "message/news".
The MIME type for "Raw" records is "Application/X-MailDigest". See also MAILFOLDER.
The MIME type for "Raw" records is "Application/X-ListDigest". See also MAILFOLDER.
The MIME type for "Raw" records is "message/rfc822". See also MAILFOLDER.