Open zssng opened 2 weeks ago
hi, ill see it
I have checked it and it works.
Try to check delimiters, for example for YANDEX box name will be:
folder_name = '70 发票|lli哦i哦 噢'
Delimiter is "|"
😅,I have the folder,but code return false
I can create subfolder with "70 发票/lli哦i哦 噢"
, just can't check if it exists
Try to run with debugger. What mailbox provider?
folder_name = '70 发票|lli哦i哦 噢'
for f in mailbox.folder.list():
print(f.name)
print('exists:', mailbox.folder.exists(folder_name))
INBOX 70 发票 70 发票|lli哦i哦 噢 ... exists: True
Try to see at debugger, it is interesting - what is wrong.
@zssng, whats news )?
it seems like list func return None
Try to run code like this:
mailbox.folder.list('', 'INDEX')
Is it works?
Then some more complex:
mailbox.folder.list('', 'INDEX/123')
...
mailbox.folder.exists
check"70 发票/lli哦i哦 噢"
folder always returnFalse
, even if it exist