Banner showing base of Eiffel tower

Github

Download version 1.4.8: Windows or Linux

Persistency Library: Thunderbird Email Export

This library cluster has 18 classes.

ECF: markup-docs.ecf

Classes to read and export emails from the Thunderbird email client including a class to generate a Kindle book from a folder of chapter emails.

Test class THUNDERBIRD_TEST_APP

Directory: library/persistency/thunderbird

[ . ]

. /account

. /exporter

. /support

[ . ]

TB_FOLDER_EXPORTER

Read folder of Thunderbird HTML email content and collects email headers in field_table HTML content is collected in line list html_lines and then event handler on_email_end is called, before processing the next email.

account

TB_ACCOUNT_READER

Reads Thunderbird HTML email documents from a selected account and configured by a Pyxis document.

pyxis-doc:
   version = 1.0; encoding = "UTF-8"

thunderbird:
   account = "<email account name>"; export_dir = "<export path>"
   language = "<optional language code"
   folders:
      "<folder name 1>"
      "<folder name 2>"

Further Information

Click on class link to see client examples.

TB_MULTI_LANG_ACCOUNT_BOOK_EXPORTER

Multi-language Thunderbird account book exporter.

Merge localized folder of emails into a single HTML book with chapter numbers and titled derived from subject line.

Further Information

Click on class link to see notes and client examples.

TB_MULTI_LANG_ACCOUNT_READER

Multi-language Thunderbird email account reader.

Reads Thunderbird HTML email documents from a selected account where content folders are organized with sub-folders named as 2 letter language code to hold localized versions of documents.

foo/en
foo/de
foo/fr

bar/en
bar/de
bar/fr

Each document folder is read and processed by a class conforming to TB_FOLDER_READER

Further Information

Click on class link to see client examples.

TB_MULTI_LANG_ACCOUNT_XHTML_BODY_EXPORTER

Multi-lingual (ML) Thunderbird account XHTML body exporter

Further Information

Click on class link to see client examples.

TB_MULTI_LANG_ACCOUNT_XHTML_DOC_EXPORTER

Localized Thunderbird to XHTML exporter

Further Information

Click on class link to see client examples.

TB_WWW_XHTML_CONTENT_EXPORTER

Export HTML under www sub-directory

Further Information

Click on class link to see client examples.

exporter

TB_BOOK_EXPORTER

Merge Thunderbird folder of numbered chapter emails into a HTML book

TB_XHTML_BODY_EXPORTER

Export Thunderbird email folders as HTML body content between <body> and </body> tags and output as <subject name>.body. Insert a page anchor before each h2 heading

<a id="Title_1"/>
<h2>Title 1</h2>

TB_XHTML_DOCUMENT_EXPORTER

Export contents of Thunderbird email folder as XHTML document files

TB_XHTML_FOLDER_EXPORTER

Thunderbird folder to XHTML

support

TB_ATTRIBUTE_EDIT_TABLE

Table of actions to add XML element attribute to output string. See class TB_XHTML_FOLDER_EXPORTER

TB_CONSTANTS

Thunderbird constants

TB_EMAIL

Thunderbird email headers and content reflectively settable from STRING_8 lines

Further Information

Click on class link to see client examples.

TB_EMAIL_LIST

List of Thunderbird email content and headers of type TB_EMAIL

Further Information

Click on class link to see client examples.

TB_HTML_LINES

Thunderbird HTML content lines

TB_SUBJECT_LINE_DECODER

Decode internal Thunderbird subject lines Example:

"=?ISO-8859-15?Q?=DCber_My_Ching?=" -> "Über My Ching"

"=?UTF-8?B?w5xiZXLigqwgTXkgQ2hpbmc=?=" -> Über€ My Ching

"=?UTF-8?Q?3.Journaleintr=c3=a4ge_bearbeiten?=" -> "Journaleinträge bearbeiten"

Further Information

Click on class link to see client examples.

TB_XHTML_BODY_LINES

Thunderbird HTML content lines translated to body content as XHTML