- veraltete Empfänger entfernt

- newsletter 2021-01-10
- Änderungen am sendMail script
This commit is contained in:
marko
2021-01-17 09:25:32 +01:00
parent ab1fa69ca2
commit 4d2b3cde0f
3 changed files with 24 additions and 3 deletions

View File

@@ -8,7 +8,6 @@ julia.haeuberer@gmx.de
cathleen.fritsch@web.de cathleen.fritsch@web.de
s.stohldreier@p-side.de s.stohldreier@p-side.de
dani17184@web.de dani17184@web.de
sandra20386@gmail.com
mohamad.zahra1986@gmail.com mohamad.zahra1986@gmail.com
post@was7.de post@was7.de
soffienatall@gmail.com soffienatall@gmail.com

View File

@@ -0,0 +1,22 @@
---
title: Online Training am 13. Januar 2021 - coronaNewsletter 2021-01-10
---
Hallo liebe Eltern,
hallo liebe Judoka,
wie bereits angekündigt, werden wir beim nächsten Training mit
BigBlueButton mal eine andere Software ausprobieren. Die Trainingszeit
wird die selbe sein:
- Mittwoch, 13.01.2021, 17:30 Uhr
- [Link](https://webroom.hrz.tu-chemnitz.de/gl/nic-s0t-f4i-biq)
- Passwort: 320360
- Wieder den Gürtel bereithalten
Grundsätzlich läuft auch diese Version komplett im Browser, sodass
keine zusätzliche Software installiert werden muss.
Ich hoffe auf rege Teilnahme,
marko

View File

@@ -78,7 +78,7 @@ if __name__=="__main__":
mdHeader = yaml.load(get_yaml(f)) mdHeader = yaml.load(get_yaml(f))
# Create the plain-text and HTML version of your message # Create the plain-text and HTML version of your message
text = pypandoc.convert_file(argv.mdFilePath, "plain", extra_args=["--self-contained", "--resource-path=../aufgaben"]) text = pypandoc.convert_file(argv.mdFilePath, "markdown", extra_args=["--self-contained", "--resource-path=../aufgaben"])
html = pypandoc.convert_file(argv.mdFilePath, "html", extra_args=["--self-contained", "--resource-path=../aufgaben"]) html = pypandoc.convert_file(argv.mdFilePath, "html", extra_args=["--self-contained", "--resource-path=../aufgaben"])
# Turn these into plain/html MIMEText objects # Turn these into plain/html MIMEText objects
@@ -96,7 +96,7 @@ if __name__=="__main__":
message["Subject"] = mdHeader['title'] message["Subject"] = mdHeader['title']
message["From"] = config['senderEmailAddress'] message["From"] = config['senderEmailAddress']
message["Reply-To"] = config['senderEmailAddress'] message["Reply-To"] = config['senderEmailAddress']
message["Date"] = str(utils.localtime()) message["Date"] = str(utils.formatdate(localtime=True))
# only set the to-header one time: setting it multiple # only set the to-header one time: setting it multiple
# times results in a multiple to-entries in the header! # times results in a multiple to-entries in the header!
# Meanig the mail has to be recreated for each to address. # Meanig the mail has to be recreated for each to address.