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

Failed to forward emails with Content type like file #49

Open
yatsenkolesh opened this issue Apr 2, 2024 · 0 comments
Open

Failed to forward emails with Content type like file #49

yatsenkolesh opened this issue Apr 2, 2024 · 0 comments

Comments

@yatsenkolesh
Copy link

Hey,

I know this repository is not supported, but maybe someone knows how to fix emails like that:

Content-Type: application/zip;
name="google.com!pxdmail.net!1711756800!1711843199.zip"
Content-Disposition: attachment;
filename="google.com!pxdmail.net!1711756800!1711843199.zip"
Content-Transfer-Encoding: base64

UEsDBAoAAAAIAKFMf1iNN1a6OgIAAJQHAAAwAAAAZ29vZ2xlLmNvbSFweGRtYWlsLm5ldCExNzEx
....

It goes without attachment. The body is empty there as it should be, but an attachment should be sent.

I'm currently forked https://github.com/EVANA-AG/parsemail because it works better with encoding. After all, k3a had an encoding problem that was fixed in EVANA.
I've fixed it by adding yatsenkolesh@e372177 application/zip in a switch case, but it's not a very good solution. Also if you want to steal my crutch please be aware that there is the next commit that fixing base64.

If anyone fixed it already I would appreciate stealing your solution, if not - let me know if you have the same problem, I'll ping you in case I fix it myself.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant