Compare commits
3 Commits
eafd0105b4
...
dd05db67a6
Author | SHA1 | Date | |
---|---|---|---|
![]() |
dd05db67a6 | ||
![]() |
dc90e61687 | ||
![]() |
a5c74b0ba7 |
@ -79,7 +79,7 @@ def init(params, altfields, defaults, check_remote_ip='0.0.0.0'):
|
|||||||
try:
|
try:
|
||||||
longname = addresses[value][0]
|
longname = addresses[value][0]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
longname = "Heidelberg University Library (will forward)"
|
longname = "Non-existent Enterprises Ltd (will forward)"
|
||||||
value = "ub"
|
value = "ub"
|
||||||
return longname + f"<input type='hidden' name='adr' value='{value}'>"
|
return longname + f"<input type='hidden' name='adr' value='{value}'>"
|
||||||
|
|
||||||
@ -218,7 +218,7 @@ Dieser Hinweis kann geloescht werden.
|
|||||||
""") + "\n".join(userinput)
|
""") + "\n".join(userinput)
|
||||||
|
|
||||||
mail = EmailMessage()
|
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['From'] = data['mymail'] or 'WWW-Formular'
|
||||||
mail['To'] = adr
|
mail['To'] = adr
|
||||||
del mail['Subject']
|
del mail['Subject']
|
||||||
|
Loading…
Reference in New Issue
Block a user