mirror of
https://github.com/brmlab/misc.git
synced 2025-06-08 01:44:47 +02:00
send announce to 2 mailing lists
This commit is contained in:
parent
ad0f5ab822
commit
85379a78e2
2 changed files with 9 additions and 1 deletions
8
README
Normal file
8
README
Normal 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
|
||||
|
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue