-
Notifications
You must be signed in to change notification settings - Fork 65
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
Extracted attachments are corrupted #32
Comments
I can confirm corrupted extracted attachments. But the extracted files are not all the time corrupted. If I export the file directly from my mail client, it is not corrupted. Example for a corrupted file is a .docx-file: `… Content-Type: multipart/mixed; boundary=19046660-30413-1613741647-0 --19046660-30413-1613741647-0 --19046660-21017-1613741647-0 blablablub =20 --19046660-21017-1613741647-0
blablablub --19046660-21017-1613741647-0----19046660-30413-1613741647-0 UEsDBBQABgAIAAAAIQAykW9XZgEAAKUFAAATAAgCW0NvbnRlbnRfVHlwZXNd blablablub AACIGgAAd29yZC90aGVtZS90aGVtZTEueG1sUEsBAi0AFAAGAAgAAAAhAOPk --19046660-30413-1613741647-0 /9j/4AAQSkZJRgABAQEAeAB4AAD/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0N --19046660-30413-1613741647-0 /9j/4AAQSkZJRgABAQEAeAB4AAD/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0N --19046660-30413-1613741647-0 /9j/4AAQSkZJRgABAQEAeAB4AAD/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0N --19046660-30413-1613741647-0-- |
It would be very helpful if you could send me an example for a msg or eml which produces these corrupted attachments. |
Thank you very much for your message. Unfortunately I cannot provide the original file (data privacy). But I tested around and found out the following: Original eml-file: Result: docx-file is corrupted, IO-Error. Manipulated eml-file V1 (cut parts within #CUT# #/CUT#): Result: docx-file is not corrupted and opens fine! Manipulated eml-file V2 (replace parts within #CUT# #/CUT# by "filename"): Result: docx-file is not corrupted and opens fine! Hopefully my hints can nevertheless be helpful. Regards, mrchang08154 |
This might be related with this bug in java-simple-mail |
Caused by java-simple-mail dependency bug (https://git.io/J3qV9).
Please test if this is fixed with release 2.5.3. |
Good Morning, wow, I can confirm that the issue has gone in release 2.5.3. Thank you very much! Nice weekend and regards, |
when converting .eml files, extracted attachments wont open. they say they are corrupted. i tested all earlier version. starting on version 2.4 attachments are currupted when extracted.
The text was updated successfully, but these errors were encountered: