New submission from R. David Murray: In rewriting the examples in the email docs to use the new policies, I discovered that smtplib has a bug when handling a message that uses an EmailPolicy derived policy if the addresses contain unicode characters. Currently it is extracting the addresses as unicode strings instead of transport encoded strings. It needs a special case to handle EmailPolicy Messages.
---------- components: email messages: 274597 nosy: barry, r.david.murray priority: normal severity: normal stage: needs patch status: open title: smtplib send_message does not correctly handle unicode addresses if message uses EmailPolicy type: behavior versions: Python 3.5, Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27977> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com