Closed rmontagud closed 3 years ago
Can you show me a cut of your message where I can see that attribute? And if possible, tell me which server sends messages with such attributes, please.
Sure, it's Zimbra, but i'm puzzled because the downloaded raw message has the appropiate casing in the attributes so something it's changing the case
--report_section
Content-Type: application/zip
Content-Disposition: attachment; filename="infomaniak.com!domain.org!1636498800!1636585200.zip"
Content-Transfer-Encoding: base64
If it helps: imap client runs on PHP 7.3 and the mail server is zimbra
Thank you for sharing this.
I've setup your tool but it wasn't detecting attachments due to the part atrribute names being in uppercase.
The best way for me to make it work was to ensure the attribute names were read anyway, so i've changed it to use strcasecmp instead of the previous comparison