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
Email message with no content and only attachments is not extracted #57
Comments
Can you send me a physical example ( arceusthe@gmail.com ) so I can better figure out what is causing this? |
I've encountered this issue as well, here's a stacktrace:
|
Hello, @BenJoParadise, would you mind running the following code for me and responding with the output? Thank you.
|
Sure, here's the output:
|
Thank you. In case you are curious, @BenJoParadise, from what I can tell, what is happening in your case is that the program found an embedded msg file, which also has an attachment. However the attachment does not have a properties file, which shouldn't be possible. However, I will need to take a bit of time to investigate. |
Or not. Huh. This is very strange. |
Thanks for the quick and informative response @TheElementalOfCreation, standing by to see what you find out. |
Give me one second and I'll need you to run one more code for me. |
attached is a zipped email returning the same error: |
|
|
Okay, this is VERY interesting. I just saw the example and took a look at it and I am baffled at the moment. I'm going to take a deeper look at this. I'll get back to you when I know more, and then once we eventually have a fix, @BenJoParadise I also took a look at the data you posted and it confirms that what I thought was happening is NOT what is happening. |
@TheElementalOfCreation sounds good, thanks for the help, let me know if you need anything else. |
@BenJoParadise Found the problem. I accidentally forgot to change a line when I made a change to the way |
@TheElementalOfCreation awesome news! Thanks for the quick fix, i'll be looking forward for the next release. |
@tonecas sorry for hijacking your issue. I hope the solution will work for you too. |
For now, you can manually modify your installation to fix it. Simply change
in
|
Will do, thanks. |
@BenJoParadise Going to be honest, I have no idea how any emails with embedded msg files have been working properly at all. Well, actually I think it was literally lust plain luck that the properties files existed in the right places or something. I don't know. shrugs |
Don't you just love it when that happens XD |
@TheElementalOfCreation I noticed that if the message has an attached .msg file, it is parsed.
|
@BenJoParadise No it is not. This has to do with the structure of .msg files. Our program does not have the capability to generate a new olefile which would be needed for the msg files, so as such it is impossible. Embedded messages are not saved as a stream but as a storage |
When a .msg file has no content there is no extraction. the directory is not created and the attachments are not extracted into it
The text was updated successfully, but these errors were encountered: