-
Notifications
You must be signed in to change notification settings - Fork 30
Warning when parsing .msg file from Outlook - unknown encoding 72 #17
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
Comments
I haven't seen that unknown encoding before - perhaps something has changed in newer outlooks. Googling it that seems to be used for GUIDs, probably an easy fix but for now it'll just be dropping the affected properties. As for the inspect string not working - I think that must have been broken for a while (could be 10 years!). The code seems to forward a few messages to the underlying mapi property store (ie what is displayed as from is |
Thanks for your response. Dropping the affected properties should be okay as I only need to use this gem to produce a preview of the file. After having a closer look at the properties and methods most of the file seems to be in tact from what I can tell. I actually think this might be related to #9 as I get the same error when calling Seeing as though I can interact with each mime parts I think I'll be able to get around my issue. I've been testing this out by using a local file on my computer but my last (hopefully) hurdle is the ability to open the file after downloading it to memory. I can only see a way to read the file from disk. Is this possible? |
I believe you can use |
Getting an
unknown encoding 72
warning when trying to parse any .msg file saved to my computer from Outlook.Steps to reproduce
Note: I changed the recipient names and addresses in the output above.
Also a side note I'm not sure why the Msg object above has
nil
in theto
andfrom
properties but when I dotest.to
andtest.from
the values display correctly?Any help or info on this would be much appreciated.
Environment
Windows 10
Outlook Version 2004 Monthly Channel
The text was updated successfully, but these errors were encountered: