Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multipart message body cannot be read with Python 3 #21

Open
kiilivi opened this issue Dec 7, 2021 · 2 comments
Open

Multipart message body cannot be read with Python 3 #21

kiilivi opened this issue Dec 7, 2021 · 2 comments

Comments

@kiilivi
Copy link

kiilivi commented Dec 7, 2021

Get Multipart Payload keyword seems to fail for email body if the e-mail has an attachment. I get this error:
AttributeError: 'str' object has no attribute 'decode'

I googled for that error, and it seems that the message cannot be decoded in the same way in Python 3.
https://stackoverflow.com/questions/28583565/str-object-has-no-attribute-decode-python-3-error

@4nif
Copy link

4nif commented Feb 13, 2022

@lasselindqvist I am facing same error too

@lasselindqvist
Copy link
Owner

I will happily merge any fixes to this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants