Open yatsenkolesh opened 6 months ago
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 https://github.com/yatsenkolesh/parsemail/commit/e37217783444249e66fce0335867fb9b9d8d77b5 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!
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 https://github.com/yatsenkolesh/parsemail/commit/e37217783444249e66fce0335867fb9b9d8d77b5 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!