mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-25 02:57:22 +00:00
Fix hmac creation in send_test_email function
This commit is contained in:
parent
0afc8f94da
commit
4313910ba0
@ -176,7 +176,7 @@ def send_raw_email(kindle_mail, msg):
|
|||||||
mailserver.starttls()
|
mailserver.starttls()
|
||||||
|
|
||||||
if settings["mail_password"]:
|
if settings["mail_password"]:
|
||||||
mailserver.login(settings["mail_login"], settings["mail_password"])
|
mailserver.login(str(settings["mail_login"]), str(settings["mail_password"]))
|
||||||
mailserver.sendmail(settings["mail_from"], kindle_mail, msg)
|
mailserver.sendmail(settings["mail_from"], kindle_mail, msg)
|
||||||
mailserver.quit()
|
mailserver.quit()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user