Banner showing base of Eiffel tower

Github

Download version 1.4.8: Windows or Linux

Persistency Library: Thunderbird Email Export

This library cluster has 13 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.

Directory: library/persistency/thunderbird

. /account

. /reader

. /reader/exporter

. /support

. /test

account

EL_ML_THUNDERBIRD_ACCOUNT_BOOK_EXPORTER

Multi-lingual (ML) 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.

EL_ML_THUNDERBIRD_ACCOUNT_READER

Multi-lingual (ML) 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 EL_THUNDERBIRD_FOLDER_READER

Further Information

Click on class link to see client examples.

EL_ML_THUNDERBIRD_ACCOUNT_XHTML_BODY_EXPORTER

Multi-lingual (ML) Thunderbird account XHTML body exporter

Further Information

Click on class link to see client examples.

EL_THUNDERBIRD_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.

reader

EL_THUNDERBIRD_FOLDER_READER

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.

reader/exporter

EL_THUNDERBIRD_BOOK_EXPORTER

Merge Thunderbird folder of numbered chapter emails into a HTML book

EL_THUNDERBIRD_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>

Further Information

Click on class link to see client examples.

EL_THUNDERBIRD_XHTML_DOC_EXPORTER

Export contents of Thunderbird email folder as XHTML document files

EL_THUNDERBIRD_XHTML_EXPORTER

Thunderbird folder to xhtml

support

EL_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"

EL_SUBJECT_LIST

Subject list

EL_THUNDERBIRD_CONSTANTS

Thunderbird constants

test

EL_SUBJECT_LINE_DECODER_TEST_SET

Subject line decoder test set