Bug fix
This commit is contained in:
parent
6018f0217d
commit
1e90df76dd
|
@ -57,7 +57,7 @@ def send_mail(subject: str, body: str) -> None:
|
||||||
msg["Message-ID"] = make_msgid()
|
msg["Message-ID"] = make_msgid()
|
||||||
|
|
||||||
# Add extra mail headers
|
# Add extra mail headers
|
||||||
for header, value in config.getattr("MAIL_HEADERS", []):
|
for header, value in config.MAIL_HEADERS:
|
||||||
msg[header] = value
|
msg[header] = value
|
||||||
|
|
||||||
msg.set_content(body)
|
msg.set_content(body)
|
||||||
|
|
Loading…
Reference in a new issue