Windson Yang <wiwind...@outlook.com> added the comment:

Btw, from the docs 
https://docs.python.org/3/library/smtplib.html#smtplib.SMTP.sendmail

> msg may be a string containing characters in the ASCII range, or a byte 
> string. A string is encoded to bytes using the ascii codec, and lone \r and 
> \n characters are converted to \r\n characters. A byte string is not modified.
 
So we can't send non-ASCII msg using send_mail(), is this expected behavior?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36093>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to