mirror of
https://github.com/brmlab/misc.git
synced 2025-06-07 17:34:08 +02:00
forgot one thing
This commit is contained in:
parent
f5ac8e7f13
commit
4e416d92d5
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue