martinrusev / imbox

Python IMAP for Human beings
MIT License
1.18k stars 190 forks source link

filename blank #208

Open QwertyCoolMT opened 3 years ago

QwertyCoolMT commented 3 years ago

i'm having a weird issue where a filename is loading as "" even though it appears to have a name when looked at in a webclient.

jusvit commented 1 year ago

I am seeing this happen aswell, our program reads unread messages and gets the attachments, it was initially working then decided to not give file name (We manually unread messages to test, could be part of the issue??))

As you can see we have an attachment with "" filename, image The attachment is a CSV file with a name, but the library says the filename is "" image

If I write the content of the attachment to file, it has all the CSV data, the Imbox library just can't get the filename for whatever reason.

Using imbox-0.9.8 and python 3.10

Assistance would be greatly appreciated.

fofiedelly commented 1 year ago

Facing exactly the same issue. I actually send from my private Email the same Email attachment and it was able to download it correctly.

So i'm really looking forward to know why the filename would be empty.

Screenshot 2023-01-17 at 01 30 47
sebix commented 1 year ago

How does the source of the email look?