mailbot icon indicating copy to clipboard operation
mailbot copied to clipboard

Update mailbot.py

Open nnako opened this issue 10 years ago • 2 comments

FIX: string access on byte sequence and type cast for invocation of mail message function

nnako avatar Apr 25 '15 20:04 nnako

Thanks @nnako for your work! However, I don't think the key itself should be bytes, should it? According to the py33 test in travis, the key doesn't exist.

The py27 test needs fixing, because it's mocked. If you need help fixing those two test failures, please let me know.

magopian avatar Apr 26 '15 07:04 magopian

+1 on this pull: from the IMAPClient documentation, in Python 3 it returns messages as byte arrays, instead of strings as in Python 2. The patch is needed to have it working on Python 3.

ricrogz avatar Jul 10 '16 15:07 ricrogz