awangga / outlook

Python library to read email from live, hotmail, outlook, office365 or any microsoft email service
337 stars 136 forks source link

unreadIds TypeError #27

Closed AnthonyAnicotte closed 3 years ago

AnthonyAnicotte commented 3 years ago

Hi, in the outlook.py file L:134, you seem to treat a bytes-like object and not a str one. So you are parsing & returning it as a str object, which is not.

AnthonyAnicotte commented 3 years ago

The 'd' object has to be converted in a str object or the split action should be performed with the byte qualifier: d.split(b' ')