This commit is contained in:
Edward Betts 2024-03-27 16:38:18 +00:00
parent 6018f0217d
commit 1e90df76dd

View file

@ -57,7 +57,7 @@ def send_mail(subject: str, body: str) -> None:
msg["Message-ID"] = make_msgid()
# Add extra mail headers
for header, value in config.getattr("MAIL_HEADERS", []):
for header, value in config.MAIL_HEADERS:
msg[header] = value
msg.set_content(body)