# HG changeset patch # User Goffi # Date 1565968012 -7200 # Node ID ca6c695c65da4ba91c6a27bc3cdf32ac9059efbb # Parent 0d55a52056f76a783c2f55235bbb90e4aceb28b3 tools (common/email): fixed email sending after python 3 port diff -r 0d55a52056f7 -r ca6c695c65da sat/tools/common/email.py --- a/sat/tools/common/email.py Fri Aug 16 17:06:51 2019 +0200 +++ b/sat/tools/common/email.py Fri Aug 16 17:06:52 2019 +0200 @@ -62,7 +62,7 @@ email_host.encode("utf-8"), email_from.encode("utf-8"), [email.encode("utf-8") for email in to_emails], - msg.as_string(), + msg.as_bytes(), senderDomainName=email_sender_domain.encode("utf-8") if email_sender_domain else None, port=email_port,