-
Notifications
You must be signed in to change notification settings - Fork 53
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
UnicodeDecodeError #73
Comments
I too have seen this error but was never able to reproduce it. Please tell me when you can reproduce it 😁 |
I have the same issue, can't seem to find a way to reproduce it. Strange stuff |
I have managed to reproduce this error by using Using it within the subject/body does not seem to cause the error I'm using version 1.4.4 |
I have the same error. Happens when sending mail from Outlook Client and inserting characters like "ö,ä" |
Still the same error with the newest 1.4.5 version. Remote Server returned '554 5.0.0 <[45.9.60.49] #5.0.0 smtp; 5.3.0 - Other mail system problem 500-"Error: (UnicodeDecodeError) 'utf-8' codec can't decode byte 0xe4 in position 0: invalid continuation byte" (delivery attempts: 0)>' |
I solved the problem by using "latin1" instead of "utf8" in mailserver3.py. |
Thanks for telling us this @Pay1337 I wonder though if this means it would crash, receiving UTF8 encoded email 🧐 |
If you register at https://www.rmv.de/ you can reproduce it. Cant retry, seems like there is a rate limit. If someone wants to try:
fixed in fork, works for latin1: |
Oh nice, sounds like a good solution until the root cause is fixed. Can you do a pull request? |
Hello,
During receive of an email I got this error message
'utf-8' codec can't decode byte 0xf6 in position 499: invalid start byte
.I do think it was caused by
åäö
in the subject or body but not sure yet. Will try to reproduce and check what I can do in the code.Thanks.
The text was updated successfully, but these errors were encountered: