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
I use another Python module [yagmail] to send an email with attachments. When I try to use the imbox module to read the email attachments sent by yagmail, the following error appears, which looks like an attachment name resolution error:
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/imbox/parser.py", line 212, in parse_ email
attachment = parse_ attachment(part)
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/imbox/parser.py", line 122, in parse_ attachment
filename_ parts. insert(int(s_name[1]),value[1:-1] if value. startswith('"') else value)
ValueError: invalid literal for int() with base 10: ''
The text was updated successfully, but these errors were encountered:
I use another Python module [yagmail] to send an email with attachments. When I try to use the imbox module to read the email attachments sent by yagmail, the following error appears, which looks like an attachment name resolution error:
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/imbox/parser.py", line 212, in parse_ email![mmexport1670496727397.jpg](https://user-images.githubusercontent.com/110704234/206428964-856993f0-b1a7-4fe9-8f1b-b7d65b6a09c2.jpg)
attachment = parse_ attachment(part)
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/imbox/parser.py", line 122, in parse_ attachment
filename_ parts. insert(int(s_name[1]),value[1:-1] if value. startswith('"') else value)
ValueError: invalid literal for int() with base 10: ''
The text was updated successfully, but these errors were encountered: