forked from ScoDoc/ScoDoc
Fix: mails notification sans contenu HTML
This commit is contained in:
parent
ca1ac28f2e
commit
820e42ac28
@ -36,7 +36,7 @@ def send_email(
|
|||||||
sender: str,
|
sender: str,
|
||||||
recipients: list,
|
recipients: list,
|
||||||
text_body: str,
|
text_body: str,
|
||||||
html_body="",
|
html_body: str | None = None,
|
||||||
bcc=(),
|
bcc=(),
|
||||||
attachments=(),
|
attachments=(),
|
||||||
):
|
):
|
||||||
@ -56,7 +56,6 @@ def send_email(
|
|||||||
msg.attach(
|
msg.attach(
|
||||||
attachment["filename"], attachment["mimetype"], attachment["data"]
|
attachment["filename"], attachment["mimetype"], attachment["data"]
|
||||||
)
|
)
|
||||||
|
|
||||||
send_message(msg)
|
send_message(msg)
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# -*- mode: python -*-
|
# -*- mode: python -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
SCOVERSION = "9.7.26"
|
SCOVERSION = "9.7.27"
|
||||||
|
|
||||||
SCONAME = "ScoDoc"
|
SCONAME = "ScoDoc"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user