##// END OF EJS Templates
mail: unbyteify the SMTPException message...
Matt Harbison -
r51172:174290ad default
parent child Browse files
Show More
@@ -56,7 +56,7 b' class STARTTLS(smtplib.SMTP):'
56 56
57 57 def starttls(self, keyfile=None, certfile=None, context=None):
58 58 if not self.has_extn("starttls"):
59 msg = b"STARTTLS extension not supported by server"
59 msg = "STARTTLS extension not supported by server"
60 60 raise smtplib.SMTPException(msg)
61 61 (resp, reply) = self.docmd("STARTTLS")
62 62 if resp == 220:
General Comments 0
You need to be logged in to leave comments. Login now