forgot one thing

This commit is contained in:
Pavol Rusnak 2011-06-20 04:17:29 +02:00
parent f5ac8e7f13
commit 4e416d92d5

View file

@ -61,7 +61,7 @@ if len(out):
msg = MIMEText("\n".join(out), _charset="utf-8")
msg['Subject'] = "Tydenni prehled udalosti / Weekly overview of events"
msg['From'] = "noreply@brmlab.cz"
msg['To'] = dest_addr
s = smtplib.SMTP(smtp_server)
for addr in dest:
msg['To'] = addr
s.sendmail("noreply@brmlab.cz", addr, msg.as_string())