mirror of
https://github.com/simple-login/app.git
synced 2024-11-16 00:48:32 +01:00
add quote
This commit is contained in:
parent
e61bf038be
commit
41c6e8fd79
1 changed files with 1 additions and 1 deletions
|
@ -320,7 +320,7 @@ def send_email(
|
||||||
msg[headers.CONTENT_TYPE] = "text/plain"
|
msg[headers.CONTENT_TYPE] = "text/plain"
|
||||||
|
|
||||||
msg[headers.SUBJECT] = subject
|
msg[headers.SUBJECT] = subject
|
||||||
msg[headers.FROM] = f"{from_name} <{from_addr}>"
|
msg[headers.FROM] = f'"{from_name}" <{from_addr}>'
|
||||||
msg[headers.TO] = to_email
|
msg[headers.TO] = to_email
|
||||||
|
|
||||||
msg_id_header = make_msgid(domain=EMAIL_DOMAIN)
|
msg_id_header = make_msgid(domain=EMAIL_DOMAIN)
|
||||||
|
|
Loading…
Reference in a new issue