update auth_flag variable after STARTTLS connection is established, fixes #26376

pull/26046/merge
R. Soto 7 years ago committed by Brian Coca
parent 505dd9fe44
commit 5c0c985547

@ -312,6 +312,7 @@ def main():
try:
smtp.starttls()
smtp.ehlo()
auth_flag = smtp.has_extn('AUTH')
secure_state = True
except smtplib.SMTPException:
e = get_exception()

Loading…
Cancel
Save