Update eMail.py

This commit is contained in:
fwmarcel 2016-10-26 20:48:02 +02:00 committed by GitHub
parent 7f7df93c3f
commit cf0ab3de28

View file

@ -103,7 +103,7 @@ def run(typ,freq,data):
#
# connect to SMTP-Server
#
server = smtplib.SMTP(globals.config.get("eMail", "smtp_server"), globals.config.get("eMail", "smtp_port"))
server = smtplib.SMTP_SSL(globals.config.get("eMail", "smtp_server"), globals.config.get("eMail", "smtp_port"))
# debug-level to shell (0=no debug|1)
server.set_debuglevel(0)