You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I'm using webklex/php-imap 2.2.0.
Protocol: imap.
I want to get attachments from letters, .zip files are being saved properly (e.g. Astronomia0091023-2020-11-05.zip),
but one letter has .xlsx file attached with name "Прокрастинация и другие методы избежать работу 2020-11-02.xlsx" and its saved like "undefined" without any extension (not even undefined.xslx).
I saw the issue #37, but it's not solving this problem. Can you help?
The text was updated successfully, but these errors were encountered:
I've tested out that if I rename same file to latin characters like pricelist.xlsx, php-imap can define name correctly.
I think it's because of length of original filename, but don't know where to fix that.
Hi @myrzan ,
thanks for your report. Please dump the raw body and post an anonymized version of the region around it.
You can dump the raw content by calling var_dump($message->getStructure()->raw). This will hopefully allow me or others to reproduce the problem and determine the problem.
Hi!
I'm using
webklex/php-imap 2.2.0
.Protocol: imap.
I want to get attachments from letters, .zip files are being saved properly (e.g. Astronomia0091023-2020-11-05.zip),
but one letter has .xlsx file attached with name "Прокрастинация и другие методы избежать работу 2020-11-02.xlsx" and its saved like "undefined" without any extension (not even undefined.xslx).
I saw the issue #37, but it's not solving this problem. Can you help?
The text was updated successfully, but these errors were encountered: