mirror of
https://github.com/simple-login/app.git
synced 2024-09-28 20:51:29 +02:00
Add log for sl_sendmail
This commit is contained in:
parent
bdec7ff5e4
commit
159843a923
@ -1168,6 +1168,14 @@ def sl_sendmail(
|
||||
|
||||
# smtp.send_message has UnicodeEncodeError
|
||||
# encode message raw directly instead
|
||||
LOG.d(
|
||||
"Sendmail mail_from:%s, rcpt_to:%s, header_from:%s, header_to:%s, header_cc:%s",
|
||||
from_addr,
|
||||
to_addr,
|
||||
msg["From"],
|
||||
msg["To"],
|
||||
msg["Cc"],
|
||||
)
|
||||
smtp.sendmail(
|
||||
from_addr,
|
||||
to_addr,
|
||||
|
Loading…
Reference in New Issue
Block a user