receiver list
This commit is contained in:
parent
a8b32fd3f3
commit
786521c7c5
@ -10,7 +10,7 @@ def sendmail(sender, receiver, msg):
|
||||
smtp = None
|
||||
try:
|
||||
smtp = smtplib.SMTP("localhost")
|
||||
smtp.sendmail("nobody@hotti.de", receiver, msg);
|
||||
smtp.sendmail("nobody@hotti.de", (receiver), msg);
|
||||
except SMTPException:
|
||||
print("Fehler beim Senden der Mail an {0}".format(self.name))
|
||||
raise Exception("Nochmal von vorne")
|
||||
|
Loading…
x
Reference in New Issue
Block a user