Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Python 2 and 3 compat, use message encoding added to repoze.sendmail #12
still have failures under 3 but the tests run and there are fewer failures.
with non-ascii characters. Removes the need for the properly_encode_header function. We also add special handling of `ascii` or `latin_1` so that headers that can be encoded without the ugly RFC 2047 encoding if possible.
…de_base64. Also use the same logic for trying to find the best encoding that we use for headers.
I'm assuming Python 3 is correct and the lack in Python 2 is not significant enough to break anything.