Issue 27977: smtplib send_message does not correctly handle unicode addresses if message uses EmailPolicy (original) (raw)
Issue27977
Created on 2016-09-06 18:43 by r.david.murray, last changed 2022-04-11 14:58 by admin.
Messages (1) | ||
---|---|---|
msg274597 - (view) | Author: R. David Murray (r.david.murray) * ![]() |
Date: 2016-09-06 18:43 |
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. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:58:35 | admin | set | github: 72164 |
2016-09-06 18:43:52 | r.david.murray | create |