Compare commits

..

3 Commits

Author SHA1 Message Date
Florian Heß
dd05db67a6 Add substantial content to README.md 2025-05-15 21:05:28 +02:00
Florian Heß
dc90e61687 markdown filter for content block 2025-05-15 21:05:28 +02:00
Florian Heß
a5c74b0ba7 Added files. 2025-05-15 21:05:28 +02:00

View File

@ -79,7 +79,7 @@ def init(params, altfields, defaults, check_remote_ip='0.0.0.0'):
try:
longname = addresses[value][0]
except KeyError:
longname = "Heidelberg University Library (will forward)"
longname = "Non-existent Enterprises Ltd (will forward)"
value = "ub"
return longname + f"<input type='hidden' name='adr' value='{value}'>"
@ -218,7 +218,7 @@ Dieser Hinweis kann geloescht werden.
""") + "\n".join(userinput)
mail = EmailMessage()
mail['From'] = 'WWW-Formular <noreply@ub.uni-heidelberg.de>'
mail['From'] = 'WWW-Formular <noreply@example.invalid'
#mail['From'] = data['mymail'] or 'WWW-Formular'
mail['To'] = adr
del mail['Subject']