1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-28 12:30:00 +00:00

Merge remote-tracking branch 'button_padding/smtp-from'

This commit is contained in:
OzzieIsaacs 2017-07-11 17:38:52 +02:00
commit cfa69ff4f2

View File

@ -176,7 +176,7 @@ def send_raw_email(kindle_mail, msg):
if settings["mail_password"]:
mailserver.login(settings["mail_login"], settings["mail_password"])
mailserver.sendmail(settings["mail_login"], kindle_mail, msg)
mailserver.sendmail(settings["mail_from"], kindle_mail, msg)
mailserver.quit()
smtplib.stderr = org_stderr