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 recognizing RTF bodies for some formats #173

Open
gwiedeman opened this issue May 16, 2022 · 0 comments
Open

Not recognizing RTF bodies for some formats #173

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

Comments

@gwiedeman
Copy link
Collaborator

Describe the bug
For EML and MBOX files, mailbagit currently treats a message part as a body if it does not have a content_disposition stating its an attachment and has mime types text/html and text/plain. It looks like it might be possible for message bodies to have text/rtf or application/rtf mime types, though email clients may or may not support this. Its worth investigating this and how libpff and extract_msg handle RTF.

Additionally, our current content_disposition check may be insufficient, as it does not exclude content_disposition=inline. It would be weird to have an inline text or html part, but its still a good idea to exclude it as a body.

@gwiedeman gwiedeman added the bug Something isn't working label May 16, 2022
@gwiedeman gwiedeman modified the milestone: MVP May 16, 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
Development

No branches or pull requests

1 participant