Skip to content

Any description how to use the library? #9

@benelot

Description

@benelot

Hello!

I am looking for advice on how to use the library. I am having my mails in the unix mbox format and I would like to get my mails threaded. How do I get this to work?

I tried to use the 2010-January.txt file from your tests and wanted to use it as an mbox directly with the jwzthreading.py:

  python3 jwzthreading.py "./2010-January.txt"

However, the library breaks with:

Traceback (most recent call last):
      File "jwzthreading.py", line 592, in <module>
        main()
      File "jwzthreading.py", line 585, in main
        threads = thread(msglist)
      File "jwzthreading.py", line 508, in thread
        (existing.message is not None and
    AttributeError: 'JwzContainer' object has no attribute 'message'

Thanks for any hints.

Also, is it then possible to get a list of emails belonging to a certain thread? I saw that the dictionary at the end of the threading method was dropped, so you no longer have a subject=emails dict.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions