send announce to 2 mailing lists

This commit is contained in:
Pavol Rusnak 2011-06-06 16:20:23 +02:00
parent ad0f5ab822
commit 85379a78e2
2 changed files with 9 additions and 1 deletions

8
README Normal file
View file

@ -0,0 +1,8 @@
Various utilities
annoncer.py
- send email once a week informing about upcoming events
barcodes.py
- generates CODE-128 barcodes using zint

View file

@ -9,7 +9,7 @@ from email.mime.text import MIMEText
url = "http://brmlab.cz/_export/raw/event/start"
smtp_server = "localhost"
dest_addr = "announce@brmlab.cz, brmlab@brmlab.cz"
dest_addr = ("announce@brmlab.cz", "brmlab@brmlab.cz")
src = urllib2.urlopen(url)
now = datetime.datetime.now()