Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not handling headers for sent/deleted messages in OSTs #217

Open
gwiedeman opened this issue Jul 7, 2022 · 0 comments
Open

Not handling headers for sent/deleted messages in OSTs #217

gwiedeman opened this issue Jul 7, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@gwiedeman
Copy link
Collaborator

Describe the bug
Sent messages and deleted items in Outlook seem to often only have partial headers. The MSG parser handles these well, but the PST parser is not parsing these headers correctly. This is because the .transport_headers attribute provided by libpff just returns None here.

This affects EML and MBOX derivatives. For now, the parser just makes a new email.message.Message object with only one header: headers: not found

To Reproduce
Steps to reproduce the behavior:

  1. Use mailbagit on an OST file containing deleted or sent items.
  2. Select eml derivatives
  3. Get EMLs with only one header: headers: not found

Expected behavior
Should return a headers object with the few headers these messages contain.

Environment (please complete the following information):
_ GUI or command line?: CLU

  • OS: [e.g. iOS] Win10
  • Python version: 3.7.3
@gwiedeman gwiedeman added the bug Something isn't working label Jul 7, 2022
@gwiedeman gwiedeman changed the title Not handling headers for sent/deleted messages in OST Not handling headers for sent/deleted messages in OSTs Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant