mirror of
https://github.com/janeczku/calibre-web.git
synced 2025-01-10 04:19:00 +02:00
Merge remote-tracking branch 'mail/master'
This commit is contained in:
commit
82165a67a1
@ -176,7 +176,7 @@ def send_raw_email(kindle_mail, msg):
|
||||
mailserver.starttls()
|
||||
|
||||
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.quit()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user