Skip to content

Commit 09e5b3c

Browse files
author
rob
committed
temp comment out emailing code
1 parent c77aed9 commit 09e5b3c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

syslogdiag/emailing.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,10 @@ def _send_msg(msg: MIMEMultipart):
8989
s = smtplib.SMTP(email_server, email_port)
9090
context = ssl.create_default_context()
9191
# add tls for those using yahoo or gmail.
92-
try:
93-
s.starttls(context=context)
94-
except:
95-
pass
92+
# try:
93+
# s.starttls(context=context)
94+
# except:
95+
# pass
9696
s.login(email_address, email_pwd)
9797
s.sendmail(me, [you], msg.as_string())
9898
s.quit()

0 commit comments

Comments
 (0)