Merge branch 'master' of ssh://kawomi.com/var/local/git/deadswitch into master
This commit is contained in:
2
api1.py
2
api1.py
@@ -30,7 +30,7 @@ def sendMail(topic,toAddr):
|
||||
port = 25
|
||||
server=smtplib.SMTP("localhost", port)
|
||||
sender_email = "deadswitch@kawomi.com"
|
||||
receiver_email = "joerg.tretter@gmail.com"
|
||||
receiver_email = toAddr
|
||||
message = f"""Subject: deadSwitch not pushed on topic {topic}\n\nNotification of deadSwitch not pushed on topic {topic}."""
|
||||
server.sendmail(sender_email, receiver_email, message)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user