add mime version header for transactional email
This commit is contained in:
parent
79154378f2
commit
7e0992b767
|
@ -304,6 +304,8 @@ def send_email(
|
|||
date_header = formatdate()
|
||||
msg[headers.DATE] = date_header
|
||||
|
||||
msg[headers.MIME_VERSION] = "1.0"
|
||||
|
||||
if unsubscribe_link:
|
||||
add_or_replace_header(msg, headers.LIST_UNSUBSCRIBE, f"<{unsubscribe_link}>")
|
||||
if not unsubscribe_via_email:
|
||||
|
|
Loading…
Reference in New Issue