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

Handle RTF-encapsulated HTML #6

Open
kosta-beller opened this issue Jan 5, 2017 · 5 comments
Open

Handle RTF-encapsulated HTML #6

kosta-beller opened this issue Jan 5, 2017 · 5 comments

Comments

@kosta-beller
Copy link

The attached archive contains .msg files with HTML bodies encoded in base64.
The library fails to convert them correctly to .eml messages.

msg.zip

@mvz
Copy link
Owner

mvz commented Mar 21, 2017

@granite-zero I'm pretty sure your issue is different: The problem with @kobeller's messages is that the HTML bodies are actually RTF, and the problem does occur on Linux. Can you open a new ticket please?

@genericcx
Copy link

I also have the same issue on linux when converting the html (as it sees RTF - and then add's the html part as rtf attachment). Is there a way to get round this? Perhaps being able to extract the html from the rtf part?

@mvz mvz self-assigned this Apr 14, 2018
@mvz
Copy link
Owner

mvz commented Aug 31, 2020

These bodies are RTF-encapsulated HTML (who came up with that?), and there's a process for converting it back to HTML.

@kosta-beller
Copy link
Author

@mvz I know this edge case is weird, but it arrived to me in as real complaint from the customer. So, should I follow the guide you linked or do you intend to implement it in the library? Also, any tips to deterministically identify those messages and distinguish them, for example, from plain RTF?

@mvz
Copy link
Owner

mvz commented Sep 1, 2020

@kobeller I'm considering implementing it in the library, but I'm still investigating whether there's a suitable RTF reader library in Perl that I can use as a base.

@mvz mvz changed the title Faulty conversion of .msg files containing base64 encoded HTML Handle RTF-encapsulated HTML Sep 1, 2020
@mvz mvz added the enhancement label Sep 1, 2020
@mvz mvz removed their assignment Jan 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants