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

Update mailbot.py #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update mailbot.py #1

wants to merge 1 commit into from

Conversation

nnako
Copy link

@nnako nnako commented Apr 25, 2015

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

FIX: string access on byte sequence and type cast for invocation of mail message function
@magopian
Copy link
Owner

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.

@ricrogz
Copy link

ricrogz commented Jul 10, 2016

+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.

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

Successfully merging this pull request may close these issues.

3 participants